Flowdock
update_counters(record) 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/associations/belongs_to_association.rb, line 46
        def update_counters(record)
          with_cache_name do |name|
            return unless different_target? record
            record.class.increment_counter(name, record.id)
            decrement_counter name
          end
        end
Register or log in to add new notes.