diff options
author | brianp <brian.o.pearce@gmail.com> | 2011-06-02 15:03:36 -0700 |
---|---|---|
committer | brianp <brian.o.pearce@gmail.com> | 2011-06-02 15:03:36 -0700 |
commit | a632746a6aad26bcd1f4e54c2fde30495cb6236e (patch) | |
tree | d03f082b0bd19165b948515f98df72a26f0e7166 | |
parent | 8e071bc0687466751903da83dfb22bdf678628d5 (diff) | |
download | rails-a632746a6aad26bcd1f4e54c2fde30495cb6236e.tar.gz rails-a632746a6aad26bcd1f4e54c2fde30495cb6236e.tar.bz2 rails-a632746a6aad26bcd1f4e54c2fde30495cb6236e.zip |
Fixed sections regarding validations and callbacks to mention the touch method does not fire either validations or callbacks as stated in the docs.
-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 353779ef7d..7140353a15 100644 --- a/railties/guides/source/active_record_validations_callbacks.textile +++ b/railties/guides/source/active_record_validations_callbacks.textile @@ -82,6 +82,7 @@ The following methods skip validations, and will save the object to the database * +increment!+ * +increment_counter+ * +toggle!+ +* +touch+ * +update_all+ * +update_attribute+ * +update_column+ @@ -1007,6 +1008,7 @@ Just as with validations, it's also possible to skip callbacks. These methods sh * +increment+ * +increment_counter+ * +toggle+ +* +touch+ * +update_column+ * +update_all+ * +update_counters+ |