Method: ActiveRecord::Associations::HasManyThroughAssociation#initialize

Defined in:
activerecord/lib/active_record/associations/has_many_through_association.rb

#initialize(owner, reflection) ⇒ HasManyThroughAssociation

Returns a new instance of HasManyThroughAssociation.



9
10
11
12
# File 'activerecord/lib/active_record/associations/has_many_through_association.rb', line 9

def initialize(owner, reflection)
  super
  @through_records = {}.compare_by_identity
end