method
has_cached_counter?
v4.2.7 -
Show latest stable
-
0 notes -
Class: ActiveRecord::Associations::HasManyThroughAssociation
has_cached_counter?(reflection = reflection())
private
Hide source
# File activerecord/lib/active_record/associations/has_many_through_association.rb, line 237 def has_cached_counter?(reflection = reflection()) owner.attribute_present?(cached_counter_attribute_name(reflection)) end