> DEPRECATION WARNING: save(false) is deprecated, please give
> save(:validate => false) instead. (called from save at
> /home/bruparel/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.0.rc2/lib/active_record/validations.rb:43)

>From the 2.3.8 Docs:

(ActiveRecord::Base)
save(perform_validation = true)
Saves the model.

If the model is new a record gets created in the database, otherwise the 
existing record gets updated.

If perform_validation is true validations run. If any of them fail the 
action is cancelled and save returns false. If the flag is false 
validations are bypassed altogether. See ActiveRecord::Validations for 
more information.

There’s a series of callbacks associated with save. If any of the 
before_* callbacks return false the action is cancelled and save returns 
false. See ActiveRecord::Callbacks for further details

(ActiveRecord::Persistence)
save(options)
Saves the model.

If the model is new a record gets created in the database, otherwise the 
existing record gets updated.
By default, save always run validations. If any of them fail the action 
is cancelled and save returns false. However, if you supply :validate => 
false, validations are bypassed altogether. See 
ActiveRecord::Validations for more information.

There’s a series of callbacks associated with save. If any of the 
before_* callbacks return false the action is cancelled and save returns 
false. See ActiveRecord::Callbacks for further details.

---

They just made it all "hashier." If save(false) isn't something that 
you're calling in your code it is likely in plugins or gems that you're 
loading.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to