pepe wrote in post #960118: > > I am guessing that you are planning on using later on the message that > you are raising. Why not just add the error to your memo object errors > and then check in your controller if your memo.errors is empty or not? > > pepe
Thanks for both suggestion. Again, first time I've tried transactions and there is a lot of "I didn't know you could do that!". I tried > raise ActiveRecord::Rollback, 'Memo was NOT created. Payment exceeds because that was the example in the rdoc. I did read that if would just eat the exception. Never did my own exception, but will sure to go that path. Didn't know you could add errors to the object. I know now more than I did yesterday. Steve -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.