Sha256: 4f0c2cae6b9b7439eebd9cd29a163e0fc165e6a7fd35e96db6d361b4458ec3b6

Contents?: true

Size: 227 Bytes

Versions: 3

Compression:

Stored size: 227 Bytes

Contents

require 'rails'

module ActsInRelation
  class Railtie < Rails::Railtie
    initializer 'acts_in_relation' do |app|
      ActiveSupport.on_load :active_record do
        include ActsInRelation::Core
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
acts_in_relation-0.1.1 lib/acts_in_relation/railtie.rb
acts_in_relation-0.1.0 lib/acts_in_relation/railtie.rb
acts_in_relation-0.0.1 lib/acts_in_relation/railtie.rb