method
has_cached_counter?
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::Reflection::AbstractReflection
has_cached_counter?()public
Returns whether this association has a counter cache.
The counter_cache option must be given on either the owner or inverse association, and the column must be present on the owner.