module ActiveFedora::Persistence
def create_or_update(*args)
def create_or_update(*args) raise ReadOnlyRecord if readonly? new_record? ? create_record(*args) : update_record(*args) end
def create_or_update(*args) raise ReadOnlyRecord if readonly? new_record? ? create_record(*args) : update_record(*args) end