HighDots Forums  

Transactions

Ruby On Rails Talk Ruby On Rails programming language mailing list


Discuss Transactions in the Ruby On Rails Talk forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ivan Samonov
 
Posts: n/a

Default Transactions - 11-05-2009 , 09:52 AM






There are many transactions in our project. In some methods I need to
know was transaction success or not . Also I want to catch exceptions
like ActiveRecord::RecordInvalid in one place and not propagate them on
to higher levels of application. How can I done this? I write this
code: http://pastie.org/684694. May be there is another better way to do
this.
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.