method
has_cached_counter?
v3.2.1 -
Show latest stable
- Class:
ActiveRecord::Associations::HasManyAssociation
has_cached_counter?(reflection = reflection)private
No documentation available.
# File activerecord/lib/active_record/associations/has_many_association.rb, line 52
def has_cached_counter?(reflection = reflection)
owner.attribute_present?(cached_counter_attribute_name(reflection))
end