Sha256: 3a80de58bfd2e4833255c9884172dae627afce5f6d48ff250489067f73b57e27
Contents?: true
Size: 572 Bytes
Versions: 5
Compression:
Stored size: 572 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
5 entries across 5 versions & 1 rubygems