Sha256: 8fb5a761a71c55c4108e9cb16b2f3e7d3017f7529500feaa1ce70578636ec9c2

Contents?: true

Size: 201 Bytes

Versions: 9

Compression:

Stored size: 201 Bytes

Contents

module ActiveRecordNestedScope
  class Railtie < Rails::Railtie
    ActiveSupport.on_load :active_record do
      ActiveRecord::Base.send :include, ActiveRecordNestedScope::Extension
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
activerecord_nested_scope-1.3.0 lib/activerecord_nested_scope/railtie.rb
activerecord_nested_scope-1.2.0 lib/activerecord_nested_scope/railtie.rb
activerecord_nested_scope-1.1.1 lib/activerecord_nested_scope/railtie.rb
activerecord_nested_scope-1.1.0 lib/activerecord_nested_scope/railtie.rb
activerecord_nested_scope-1.0.4 lib/activerecord_nested_scope/railtie.rb
activerecord_nested_scope-1.0.3 lib/activerecord_nested_scope/railtie.rb
activerecord_nested_scope-1.0.2 lib/activerecord_nested_scope/railtie.rb
activerecord_nested_scope-1.0.1 lib/activerecord_nested_scope/railtie.rb
activerecord_nested_scope-1.0.0 lib/activerecord_nested_scope/railtie.rb