Forum: Ruby on Rails How do i manually abort a transaction?

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.
Cd8c9864d88bcafc164d8fdb820cc451?d=identicon&s=25 Chris (Guest)
on 2006-04-07 19:41
How do i manually abort a transaction?

Thanks,
Chris
22580f640e491f0920a192610d1df393?d=identicon&s=25 Tom Davies (Guest)
on 2006-04-07 19:46
(Received via mailing list)
This may not be the only way, but you could just raise an exception to
get outside of the transaction block.

On 4/7/06, Chris <evilgeenius@gmail.com> wrote:
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
Tom Davies

http://blog.atomgiant.com
http://gifthat.com
This topic is locked and can not be replied to.