Sha256: 75f45e31f9737d3fee9cbe70d1f57f41e55fd1cfa7e235714ade1d3a874e619f

Contents?: true

Size: 427 Bytes

Versions: 11

Compression:

Stored size: 427 Bytes

Contents

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
        ::ActionMailer::Base.send :include, Scorpion::Rails::Mailer

        ::Scorpion::Rails::ActiveRecord.install!
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
scorpion-ioc-0.5.11 lib/scorpion/rails/railtie.rb
scorpion-ioc-0.5.10 lib/scorpion/rails/railtie.rb
scorpion-ioc-0.5.9 lib/scorpion/rails/railtie.rb
scorpion-ioc-0.5.8 lib/scorpion/rails/railtie.rb
scorpion-ioc-0.5.7 lib/scorpion/rails/railtie.rb
scorpion-ioc-0.5.6 lib/scorpion/rails/railtie.rb
scorpion-ioc-0.5.5 lib/scorpion/rails/railtie.rb
scorpion-ioc-0.5.4 lib/scorpion/rails/railtie.rb
scorpion-ioc-0.5.2 lib/scorpion/rails/railtie.rb
scorpion-ioc-0.5.1 lib/scorpion/rails/railtie.rb
scorpion-ioc-0.5.0 lib/scorpion/rails/railtie.rb