From a632746a6aad26bcd1f4e54c2fde30495cb6236e Mon Sep 17 00:00:00 2001
From: brianp <brian.o.pearce@gmail.com>
Date: Thu, 2 Jun 2011 15:03:36 -0700
Subject: Fixed sections regarding validations and callbacks to mention the
 touch method does not fire either validations or callbacks as stated in the
 docs.

---
 railties/guides/source/active_record_validations_callbacks.textile | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'railties')

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+
-- 
cgit v1.2.3