Andrew
2006-Mar-21 03:26 UTC
[Rails] cache and exception safe around_filter (after_filter)
Hi, I was wondering if there is a feature or construct in rails that is guaranteed to run after an action like an around_filter (or after_filter) but will still run regardless of a broken filter chain or thrown exception? Currently I have an around filter setup, and I really require the after part of the filter to run, although if the filter chain is broken via cacheing or an exception is throw, the code is skipped. So for what I need, I''m guessing filters are not what I''m looking for. So what would I use, or does this ability not really exist yet in rails? Thanks, Andrew -- Posted via http://www.ruby-forum.com/.