method
save!
v3.0.0 -
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.