diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-07-30 10:15:26 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-07-30 10:16:28 -0300 |
commit | 2f930df518077bb2a00ab6d6a6cf579f0d88e250 (patch) | |
tree | 217db866b94f113b5e4ed4f6eed1eb76b1f2571e /railties/guides/source/active_record_validations_callbacks.textile | |
parent | cc712f2072e2bfd16db83239dd163eb3a488c45e (diff) | |
download | rails-2f930df518077bb2a00ab6d6a6cf579f0d88e250.tar.gz rails-2f930df518077bb2a00ab6d6a6cf579f0d88e250.tar.bz2 rails-2f930df518077bb2a00ab6d6a6cf579f0d88e250.zip |
Revert "Add update_columns and the suggestion of using update_columns
instead of update_column"
This reverts commit 9fa06c3d9811113259cb6e00a3a8454b3974add7.
This reverts commit 17a64de4980683da3ca3c185205013a29a8cf88d.
This reverts commit def9c85ffbdcf63e6c412b6bd4abafaa32ccdb5c, reversing
changes made to 6b7d26cf3c061907aedc44f7f36776c9b36950fd.
Reason: This was supposed to be released with 3.2.7 before the
suggestion to use update_column. Since it was not release now is not
good to suggest to use another method because it will confusing the
people.
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, 0 insertions, 2 deletions
diff --git a/railties/guides/source/active_record_validations_callbacks.textile b/railties/guides/source/active_record_validations_callbacks.textile index 3dbf1bf776..15d24f9ac1 100644 --- a/railties/guides/source/active_record_validations_callbacks.textile +++ b/railties/guides/source/active_record_validations_callbacks.textile @@ -86,7 +86,6 @@ 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. @@ -1057,7 +1056,6 @@ Just as with validations, it is also possible to skip callbacks. These methods s * +toggle+ * +touch+ * +update_column+ -* +update_columns+ * +update_all+ * +update_counters+ |