Forum: Ruby on Rails Transaction Result?

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.
Joel S. (Guest)
on 2008-10-03 21:04
If I do a transaction block. How do I know if it passed or failed? I
dont want to have to keep saying

@saved = true if(something)


then at the end find out if @saved is true
This topic is locked and can not be replied to.