From 4c4a4f90b9dfd27ecb6cdbcf41ba3d1f2b122d53 Mon Sep 17 00:00:00 2001 From: Rizwan Reza Date: Sun, 24 Jan 2010 03:16:17 +0330 Subject: [PATCH] touch is less surprising now. --- activerecord/lib/active_record/timestamp.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/activerecord/lib/active_record/timestamp.rb b/activerecord/lib/active_record/timestamp.rb index da075da..59c1c97 100644 --- a/activerecord/lib/active_record/timestamp.rb +++ b/activerecord/lib/active_record/timestamp.rb @@ -36,7 +36,7 @@ module ActiveRecord write_attribute('updated_on', current_time) if respond_to?(:updated_on) end - save! + save(:validate => false) end -- 1.6.5.2