Forum: Ruby on Rails what is the difference save() vs save!()

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Palani K. (Guest)
on 2008-10-04 18:39
Hi,
 Can anyone please tell me the difference between save & save!() method
Rob L. (Guest)
on 2008-10-04 18:42
(Received via mailing list)
Anything with an exclamation with raise an error if it is not
successful, without an exclamation it will just return false

RobL
This topic is locked and can not be replied to.