method

through_reflection

Importance_0
v6.0.0 - 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 10
        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.