method
create!
v4.0.2 -
Show latest stable
- Class:
ActiveRecord::Relation
create!(*args, &block)public
Similar to #create, but calls create! on the base class. Raises an exception if a validation error occurs.
Expects arguments in the same format as Base.create!.