# File lib/dm-core/associations/relationship.rb, line 179
      def attach_parent(child, parent)
        child_key.set(child, parent && parent_key.get(parent))
      end