Class: ActiveRecord::Associations::CollectionProxy
- Inherits:
-
Object
- Object
- ActiveRecord::Associations::CollectionProxy
- Defined in:
- lib/active_record/deprecated_finders/collection_proxy.rb
Defined Under Namespace
Modules: InterceptDynamicInstantiators
Class Method Summary collapse
Class Method Details
.inherited(subclass) ⇒ Object
27 28 29 30 31 32 33 34 35 |
# File 'lib/active_record/deprecated_finders/collection_proxy.rb', line 27 def self.inherited(subclass) subclass.class_eval do # Ensure this get included first include ActiveRecord::Delegation::ClassSpecificRelation # Now override the method_missing definition include InterceptDynamicInstantiators end end |