method
create!
v2.2.1 -
Show latest stable
- Class:
ActiveRecord::Validations::ClassMethods
create!(attributes = nil, &block)public
Creates an object just like Base.create but calls save! instead of save so an exception is raised if the record is invalid.