# File lib/dm-core/model.rb, line 303 def create!(attributes = {}) warn("Model#create! is deprecated. It is moving to dm-validations, and will be used to create a record without validations") resource = create(attributes) raise PersistenceError, "Resource not saved: :new_record => #{resource.new_record?}, :dirty_attributes => #{resource.dirty_attributes.inspect}" if resource.new_record? resource end