class ActiveFedora::Associations::CollectionAssociation
def ensure_owner_is_not_new
def ensure_owner_is_not_new if @owner.new_record? raise ActiveFedora::RecordNotSaved, "You cannot call create unless the parent is saved" end end
def ensure_owner_is_not_new if @owner.new_record? raise ActiveFedora::RecordNotSaved, "You cannot call create unless the parent is saved" end end