From 4b7dad2df3fc252acdb3fd8362370daac16540e4 Mon Sep 17 00:00:00 2001 From: Jaime Iniesta Date: Tue, 18 Jan 2011 00:35:07 +0100 Subject: ActiveRecord#save(false) is now deprecated, now it is save(:validate => false) --- activerecord/lib/active_record/validations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib/active_record') diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index f367315b22..26c1a9db93 100644 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -37,7 +37,7 @@ module ActiveRecord end end - # The validation process on save can be skipped by passing false. The regular Base#save method is + # The validation process on save can be skipped by passing :validate => false. The regular Base#save method is # replaced with this when the validations module is mixed in, which it is by default. def save(options={}) perform_validations(options) ? super : false -- cgit v1.2.3