Flowdock
method

with_cache_name

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::BelongsToAssociation
with_cache_name() 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 40
        def with_cache_name
          counter_cache_name = reflection.counter_cache_column
          return unless counter_cache_name && owner.persisted?
          yield counter_cache_name
        end
Register or log in to add new notes.