method

through_association

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 (v5.1.7) is shown here.

through_association()
private

No documentation available.

# File activerecord/lib/active_record/associations/has_many_through_association.rb, line 52
        def through_association
          @through_association ||= owner.association(through_reflection.name)
        end