method

has_cached_counter?

rails latest stable - Class: ActiveRecord::Associations::HasManyThroughAssociation

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

has_cached_counter?(reflection = reflection())
private

No documentation available.

# File activerecord/lib/active_record/associations/has_many_through_association.rb, line 237
        def has_cached_counter?(reflection = reflection())
          owner.attribute_present?(cached_counter_attribute_name(reflection))
        end