method

through_reflection

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ThroughAssociation
through_reflection() 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/through_association.rb, line 14
        def through_reflection
          @through_reflection ||= begin
            refl = reflection.through_reflection

            while refl.through_reflection?
              refl = refl.through_reflection
            end

            refl
          end
        end
Register or log in to add new notes.