Sha256: 0c53ae21fa46b7d36b85f6b9f79154d4211eccd128c871518757162b6be0d8a0
Contents?: true
Size: 310 Bytes
Versions: 1
Compression:
Stored size: 310 Bytes
Contents
module ActiveRecordScopingWithAssoc class Railtie < Rails::Railtie ActiveSupport.on_load :active_record do ActiveRecord::Relation.send :include, ActiveRecordScopingWithAssoc::Relation ActiveRecord::Associations::Association.prepend ActiveRecordScopingWithAssoc::Association end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord_scoping_with_assoc-0.1.0 | lib/activerecord_scoping_with_assoc/railtie.rb |