Never mind, it is working. I didn't cast my net wide enough thanks to a preponderance of caching and partials. Thanks again.
On Mon, Dec 29, 2008 at 3:46 PM, David Kovsky <[email protected]> wrote: > > I'd like to rescue exceptions inside my html.erb files, something like > this: > > <% begin %> > <p>this is what we display if there are no errors</p> > <% rescue %> > <p>we're sorry but an error occurred</p> > <% end %> > > Unfortunately, the rescue is not happening. I can rescue the call to > render in the controller. However, if I'm trying to display 10 objects > and only 1 has an error, I'd like to display the 9 good objects. If I > just rescue a render then I won't have that granularity. > > Am I doing something wrong above? Any other suggestions? > > Thanks > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
