diff options
author | Jaime Iniesta <jaimeiniesta@gmail.com> | 2011-01-18 00:35:07 +0100 |
---|---|---|
committer | Jaime Iniesta <jaimeiniesta@gmail.com> | 2011-01-18 00:35:07 +0100 |
commit | 4b7dad2df3fc252acdb3fd8362370daac16540e4 (patch) | |
tree | 1271a52b5dc722eb2294d29cbb73a75b0a2618ca | |
parent | 77e1a99970c8bd454beaae502d4379309402afa5 (diff) | |
download | rails-4b7dad2df3fc252acdb3fd8362370daac16540e4.tar.gz rails-4b7dad2df3fc252acdb3fd8362370daac16540e4.tar.bz2 rails-4b7dad2df3fc252acdb3fd8362370daac16540e4.zip |
ActiveRecord#save(false) is now deprecated, now it is save(:validate => false)
-rw-r--r-- | activerecord/lib/active_record/validations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |