def save(element, changeset)
      response = if element.id.nil?
        create(element, changeset)
      else
        update(element, changeset)
      end
    end
def save(element, changeset)
      response = if element.id.nil?
        create(element, changeset)
      else
        update(element, changeset)
      end
    end
Creates or updates an element depending on the current state of persistance.

 @param [Rosemary::Element] element the element to be created
 @param [Rosemary::Changeset] changeset the changeset to be used to wrap the write access.