Hi Christian

On Sun, Sep 5, 2010 at 9:38 AM, Christian Fazzini
<christian.fazz...@gmail.com> wrote:
> So this would be the convention right? not by using rescue_from. Is
> this right?

Yes.  When possible, avoid begin-rescue by using Ruby / Rails to
return a value you can handle within the normal course of your
application logic.  It makes for more readable code.

Best regards,
Bill

-- 
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.

Reply via email to