require 'rails/railtie' module Scorpion module Rails class Railtie < ::Rails::Railtie initializer "scorpion.configure" do |app| ::ActionController::Base.send :include, Scorpion::Rails::Controller ::ActiveJob::Base.send :include, Scorpion::Rails::Job ::Scorpion::Rails::ActiveRecord.install! end end end end