diff options
author | Rashmi Yadav <rays.rashmi@gmail.com> | 2013-06-19 19:01:33 +0200 |
---|---|---|
committer | Rashmi Yadav <rays.rashmi@gmail.com> | 2013-06-19 19:01:33 +0200 |
commit | 11cae34701d0076c3c5ca2fa110c64efd7dc02d1 (patch) | |
tree | 8d42dabce80f3a91ca00c84e6417f38d90ab3d1f | |
parent | 6946fffd6362bbb3447c1fbc4d8e155f9ced5f4f (diff) | |
download | rails-11cae34701d0076c3c5ca2fa110c64efd7dc02d1.tar.gz rails-11cae34701d0076c3c5ca2fa110c64efd7dc02d1.tar.bz2 rails-11cae34701d0076c3c5ca2fa110c64efd7dc02d1.zip |
[doc] Update return false if record is invalid
-rw-r--r-- | guides/source/active_record_validations.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_record_validations.md b/guides/source/active_record_validations.md index 37790c62b1..3bfc600e7c 100644 --- a/guides/source/active_record_validations.md +++ b/guides/source/active_record_validations.md @@ -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 |