method

collect_join_reflections

rails latest stable - Class: ActiveRecord::Reflection::ThroughReflection

Method deprecated or moved

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

collect_join_reflections(seed)
private

No documentation available.

# File activerecord/lib/active_record/reflection.rb, line 1002
        def collect_join_reflections(seed)
          a = source_reflection.add_as_source seed
          if options[:source_type]
            through_reflection.add_as_polymorphic_through self, a
          else
            through_reflection.add_as_through a
          end
        end