Sha256: 98745440d6d5272d55b920cbdc63031e46447096c841a7608e79c8150addcd10
Contents?: true
Size: 571 Bytes
Versions: 12
Compression:
Stored size: 571 Bytes
Contents
require 'rails/railtie' require "scorpion/rack/middleware" module Scorpion module Rails class Railtie < ::Rails::Railtie initializer "scorpion.configure" do |app| ::ActionController::Base.send :include, Scorpion::Rails::Controller if defined? ::ActionController ::ActiveJob::Base.send :include, Scorpion::Rails::Job if defined? ::ActiveJob ::ActionMailer::Base.send :include, Scorpion::Rails::Mailer if defined? ::ActionMailer ::Scorpion::Rails::ActiveRecord.install! if defined? ::ActiveRecord end end end end
Version data entries
12 entries across 12 versions & 1 rubygems