On 29 June 2010 15:24, daphonz <[email protected]> wrote: > There is a much easier solution to all of this. Utilize the try() > method that comes with ActiveSupport:
I don't see how that's easier than the guard condition that Colin suggested - but either way it ignores that the OP wanted to deal with all the occurrences of the problem in one place, rather than go tweaking loads of views. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

