Method: ActiveRecord::Reflection::HasManyReflection#association_class

Defined in:
lib/active_record/reflection.rb

#association_classObject



680
681
682
683
684
685
686
# File 'lib/active_record/reflection.rb', line 680

def association_class
  if options[:through]
    Associations::HasManyThroughAssociation
  else
    Associations::HasManyAssociation
  end
end