+1 -- Yehuda
On Wed, Apr 15, 2009 at 7:58 AM, Mislav Marohnić <[email protected]>wrote: > On Tue, Apr 14, 2009 at 13:37, pedz <[email protected]> wrote: > >> But since the exception happens in a view, it is wrapped by an >> ActionView::TemplateError so the rescue_with_handler does not find my >> exception handler. > > > I support this. My controllers mostly set up paginated collections that are > lazy loading (i.e. they hit the database only when you try to iterate them, > much like association proxies) because I use fragment caching all over the > place. > > All kinds of errors happen on runtime and wrapping them in a single error > class does not only confuse rescue_from, but also Hoptoad and possibly other > exception tracker applications that try to group similar errors together. > > > > -- Yehuda Katz Developer | Engine Yard (ph) 718.877.1325 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en -~----------~----~----~----~------~----~------~--~---
