I’m a noob but I checked
exceptions and ActiveRecordError Â— generic error class and superclass of
all other errors raised by Active Record might help you
But looking at the code for save (create_or_update), it doesn;t seem to
raise any exceptions.
Hope this helps
Rm Rm [email protected] wrote:
I am using transaction as :
Now, how can I trap the exception and show in a user friendly way if the
save fails. I need to show signup again if save fails, and go to
‘profile’ if save is a success. How can I do that ?
Posted via http://www.ruby-forum.com/.
What kind of emailer are you? Find out today - get a free analysis of
your email personality. Take the quiz at the Yahoo! Mail Championship.