method
collect_join_reflections
rails latest stable - Class:
ActiveRecord::Reflection::ThroughReflection
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