Method: ActiveRecord::Reflection::ThroughReflection#add_as_through

Defined in:
activerecord/lib/active_record/reflection.rb

#add_as_through(seed) ⇒ Object



972
973
974
# File 'activerecord/lib/active_record/reflection.rb', line 972

def add_as_through(seed)
  collect_join_reflections(seed + [self])
end