1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

[doc] Update return false if record is invalid

This commit is contained in:
Rashmi Yadav 2013-06-19 19:01:33 +02:00
parent 6946fffd63
commit 11cae34701

View file

@ -120,8 +120,8 @@ database only if the object is valid:
* `update!`
The bang versions (e.g. `save!`) raise an exception if the record is invalid.
The non-bang versions don't: `save` and `update` return `false`,
`create` and `update` just return the objects.
The non-bang versions don't, `save` and `update` return `false`,
`create` just return the objects.
### Skipping Validations