method
each_counter_cached_associations
rails latest stable - Class:
ActiveRecord::CounterCache
each_counter_cached_associations()private
No documentation available.
# File activerecord/lib/active_record/counter_cache.rb, line 211
def each_counter_cached_associations
_reflections.each do |name, reflection|
yield association(name.to_sym) if reflection.belongs_to? && reflection.counter_cache_column
end
end