diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-21 13:14:55 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-07-24 19:06:22 -0300 |
commit | 87ffc3662fc023d33e3baaf2fadb09ce4bece5b5 (patch) | |
tree | 7f9c570f93ba30a78634648765159b636f5942ab /guides | |
parent | 2d6af1d387970d033ccf660a77305f2563fd36ef (diff) | |
download | rails-87ffc3662fc023d33e3baaf2fadb09ce4bece5b5.tar.gz rails-87ffc3662fc023d33e3baaf2fadb09ce4bece5b5.tar.bz2 rails-87ffc3662fc023d33e3baaf2fadb09ce4bece5b5.zip |
New #update_columns method.
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_validations_callbacks.textile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/active_record_validations_callbacks.textile b/guides/source/active_record_validations_callbacks.textile index f49d91fd3c..673894c93a 100644 --- a/guides/source/active_record_validations_callbacks.textile +++ b/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. @@ -1082,6 +1083,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+ |