method
new
v1.1.6 -
Show latest stable
-
0 notes -
Class: ActiveRecord::HasManyThroughSourceAssociationMacroError
new(reflection)
public
Hide source
# File activerecord/lib/active_record/associations.rb, line 48 def initialize(reflection) @reflection = reflection @through_reflection = reflection.through_reflection @source_reflection = reflection.source_reflection end