class ActiveRecord::Associations::CollectionProxy

Public Class Methods

inherited(subclass) click to toggle source
# 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