aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-03-26 12:13:39 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-03-26 12:13:39 -0300
commit7c6807296b114f0688e6e74494f1d43d3a0548ba (patch)
treec681f7a321dc39eb6acbeb74338f6a67227b2a73 /railties
parent198f3883fab0a8b5ec96f5365286620344b0e6e7 (diff)
downloadrails-7c6807296b114f0688e6e74494f1d43d3a0548ba.tar.gz
rails-7c6807296b114f0688e6e74494f1d43d3a0548ba.tar.bz2
rails-7c6807296b114f0688e6e74494f1d43d3a0548ba.zip
Updated guides for new #update_column.
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/active_record_validations_callbacks.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/active_record_validations_callbacks.textile b/railties/guides/source/active_record_validations_callbacks.textile
index e5349d546c..6c80ec39f2 100644
--- a/railties/guides/source/active_record_validations_callbacks.textile
+++ b/railties/guides/source/active_record_validations_callbacks.textile
@@ -83,7 +83,7 @@ The following methods skip validations, and will save the object to the database
* +increment_counter+
* +toggle!+
* +update_all+
-* +update_attribute+
+* +update_column+
* +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.
@@ -964,7 +964,6 @@ The following methods trigger callbacks:
* +save(false)+
* +toggle!+
* +update+
-* +update_attribute+
* +update_attributes+
* +update_attributes!+
* +valid?+
@@ -993,6 +992,7 @@ Just as with validations, it's also possible to skip callbacks. These methods sh
* +increment+
* +increment_counter+
* +toggle+
+* +update_column+
* +update_all+
* +update_counters+