Sha256: 342b50f6cb9f4a0628038f822216f356a9d580fd3ec372f5a9150f387e82eee3

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

module ListableCollections
  class Railtie < Rails::Railtie

    initializer 'listable_collections.active_record' do
      ActiveSupport.on_load :active_record do
        ::ActiveRecord::Base.include(
          ListableCollections::Extensions::ActiveRecord::Base
        )
      end
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
listable_collections-5.1.1 lib/listable_collections/railtie.rb
listable_collections-5.1.0 lib/listable_collections/railtie.rb
listable_collections-4.0.0.1 lib/listable_collections/railtie.rb