diff options
author | Trevor Turk <trevorturk@yahoo.com> | 2009-03-07 15:29:28 -0600 |
---|---|---|
committer | Trevor Turk <trevorturk@yahoo.com> | 2009-03-07 15:29:28 -0600 |
commit | 61af46ca2a23006b4daae0ccacd251a3d7c48242 (patch) | |
tree | ed6ad2d685dfb969e6a59c5a59486e6e82ea770c /railties/guides | |
parent | 2e8f9106308a5b72deab9084899b176c8d0760b1 (diff) | |
download | rails-61af46ca2a23006b4daae0ccacd251a3d7c48242.tar.gz rails-61af46ca2a23006b4daae0ccacd251a3d7c48242.tar.bz2 rails-61af46ca2a23006b4daae0ccacd251a3d7c48242.zip |
Fix guide error: save(false) skips validations but does run callbacks
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/activerecord_validations_callbacks.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/activerecord_validations_callbacks.textile b/railties/guides/source/activerecord_validations_callbacks.textile index 01e52bf01e..b5edf8c6d4 100644 --- a/railties/guides/source/activerecord_validations_callbacks.textile +++ b/railties/guides/source/activerecord_validations_callbacks.textile @@ -84,7 +84,7 @@ The following methods skip validations, and will save the object to the database * +update_attribute+ * +update_counters+ -Note that +save+ also has the ability to skip validations (and callbacks!) if passed +false+. This technique should be used with caution. +Note that +save+ also has the ability to skip validations if passed +false+. This technique should be used with caution. * +save(false)+ |