Module: ActiveRecord::Reflection::AssociationReflection::HasCount
- Included in:
- ActiveRecord::Reflection::AssociationReflection
- Defined in:
- lib/active_record/reflection/has_count.rb
Instance Method Summary collapse
Instance Method Details
#association_class_with_has_count ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/active_record/reflection/has_count.rb', line 16 def association_class_with_has_count case macro when :has_count ActiveRecord::Associations::HasCount else association_class_without_has_count end end |