# File lib/dm-core/associations/one_to_many.rb, line 108 def finalize child_model.relationships.each do |relationship| # TODO: should this check #inverse? # relationship.child_key if inverse?(relationship) if relationship.kind_of?(Associations::ManyToOne::Relationship) relationship.finalize end end inverse.finalize end