method
save!
v4.2.9 -
Show latest stable
- Class:
ActiveRecord::Validations
save!(options={})public
Attempts to save the record just like Base#save but will raise a RecordInvalid exception instead of returning false if the record is not valid.