mirror of https://github.com/rails/rails
Merge pull request #49979 from ttanimichi/patch-2
Not only `save(validate: false)` but also `save!(validate: false)` triggers callbacks
This commit is contained in:
commit
09d51c93e7
|
@ -282,6 +282,7 @@ The following methods trigger callbacks:
|
|||
* `save`
|
||||
* `save!`
|
||||
* `save(validate: false)`
|
||||
* `save!(validate: false)`
|
||||
* `toggle!`
|
||||
* `touch`
|
||||
* `update_attribute`
|
||||
|
|
Loading…
Reference in New Issue