# 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