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.
Chris (Guest)
on 2006-04-07 21:41
How do i manually abort a transaction?

Thanks,
Chris
Tom D. (Guest)
on 2006-04-07 21: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 <removed_email_address@domain.invalid> wrote:
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
Tom D.

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