# File lib/dm-core/associations/relationship.rb, line 70 def child_model return @child_model if model_defined?(@child_model) @child_model = @parent_model.find_const(@child_model) rescue NameError raise NameError, "Cannot find the child_model #{@child_model} for #{@parent_model}" end