On 2-jul-2006, at 22:49, Andrew Kaspick wrote:

I've definitely had a need for more improved around and after filters.
If an action is cached, any after or around filters will not execute
as processing is basically halted after the cached page is served.

The problem here is that there is no assurance that an after-filter will run. That way scoping sometimes propagates through all requests via the class variables. Basically it seems that it would be a nice idea to have around filters which are wrapped in begin/ensure so that the around filter is always fired for both before and after.

I looked at how AP handles that and it might be somewhat cumbersome to implement.
--
Julian 'Julik' Tarkhanov
please send all personal mail to
me at julik.nl


_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to