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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
266f1a5c2a6e62a549bc2ae99ca4b1c2?d=identicon&s=25 Palani Kumar (palani)
on 2008-10-04 16:39
 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

This topic is locked and can not be replied to.