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.
266f1a5c2a6e62a549bc2ae99ca4b1c2?d=identicon&s=25 Palani Kumar (palani)
on 2008-10-04 16:39
Hi,
 Can anyone please tell me the difference between save & save!() method
05d8aae3736c731bcfc2c2a5c2a5f316?d=identicon&s=25 Rob Lacey (braindeaf)
on 2008-10-04 16: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.