method

save_with_validation!

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActiveRecord::Validations
save_with_validation!() 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.

Show source
Register or log in to add new notes.