method
save
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::Validations
save(**options)public
The validation process on save can be skipped by passing validate: false. The validation context can be changed by passing context: context. The regular {ActiveRecord::Base#save}[rdoc-ref:Persistence#save] method is replaced with this when the validations module is mixed in, which it is by default.