# File lib/dm-core/associations/relationship.rb, line 168
      def child_model
        return @child_model if defined?(@child_model)
        child_model_name = self.child_model_name
        @child_model = DataMapper::Ext::Module.find_const(@parent_model || Object, child_model_name)
      rescue NameError
        raise NameError, "Cannot find the child_model #{child_model_name} for #{parent_model_name} in #{name}"
      end