def fill_path(obj, path, row, created)
      # create the intermediate objects as needed (or return obj if path is empty)
      path.inject(obj) do |parent, prop|
        # the referenced object
        parent.send(prop.reader) or create_reference(parent, prop, row, created)
      end
    end
def fill_path(obj, path, row, created)
      # create the intermediate objects as needed (or return obj if path is empty)
      path.inject(obj) do |parent, prop|
        # the referenced object
        parent.send(prop.reader) or create_reference(parent, prop, row, created)
      end
    end
Fills the given reference Property path starting at obj.

 @param row (see #create)
 @param created (see #create)
 @return the last domain object in the path