diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-21 13:14:55 -0300 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-07-26 11:42:31 +1200 |
commit | f27a8eb71a14a9e12e26f182a3694a44abe81ee5 (patch) | |
tree | 91906f6a3d58957f5af84bd3c6bbf6ada37fd394 /railties/guides/source/active_record_validations_callbacks.textile | |
parent | 6b7d26cf3c061907aedc44f7f36776c9b36950fd (diff) | |
download | rails-f27a8eb71a14a9e12e26f182a3694a44abe81ee5.tar.gz rails-f27a8eb71a14a9e12e26f182a3694a44abe81ee5.tar.bz2 rails-f27a8eb71a14a9e12e26f182a3694a44abe81ee5.zip |
New #update_columns method.
Diffstat (limited to 'railties/guides/source/active_record_validations_callbacks.textile')
-rw-r--r-- | railties/guides/source/active_record_validations_callbacks.textile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/guides/source/active_record_validations_callbacks.textile b/railties/guides/source/active_record_validations_callbacks.textile index 15d24f9ac1..3dbf1bf776 100644 --- a/railties/guides/source/active_record_validations_callbacks.textile +++ b/railties/guides/source/active_record_validations_callbacks.textile @@ -86,6 +86,7 @@ The following methods skip validations, and will save the object to the database * +update_all+ * +update_attribute+ * +update_column+ +* +update_columns+ * +update_counters+ Note that +save+ also has the ability to skip validations if passed +:validate => false+ as argument. This technique should be used with caution. @@ -1056,6 +1057,7 @@ Just as with validations, it is also possible to skip callbacks. These methods s * +toggle+ * +touch+ * +update_column+ +* +update_columns+ * +update_all+ * +update_counters+ |