method

each_counter_cached_associations

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ActiveRecord::CounterCache
each_counter_cached_associations() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/counter_cache.rb, line 205
      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
Register or log in to add new notes.