diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-07-25 16:50:07 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-07-25 16:50:07 -0700 |
commit | def9c85ffbdcf63e6c412b6bd4abafaa32ccdb5c (patch) | |
tree | 1dd95380f12881347ac5c6da4fc6e3362aefda91 /railties/guides | |
parent | 6b7d26cf3c061907aedc44f7f36776c9b36950fd (diff) | |
parent | a0b85b9ada9c5afbe891f290e9f2effbcb79aeab (diff) | |
download | rails-def9c85ffbdcf63e6c412b6bd4abafaa32ccdb5c.tar.gz rails-def9c85ffbdcf63e6c412b6bd4abafaa32ccdb5c.tar.bz2 rails-def9c85ffbdcf63e6c412b6bd4abafaa32ccdb5c.zip |
Merge pull request #7159 from parndt/update_columns
Backport update_columns to Rails 3.2
Diffstat (limited to 'railties/guides')
-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+ |