method
save_with_validation
v2.3.8 -
Show latest stable
- Class:
ActiveRecord::Validations
save_with_validation(perform_validation = true)public
The validation process on save can be skipped by passing false. The regular Base#save method is replaced with this when the validations module is mixed in, which it is by default.