This is quite a large patch that cleans up and mondernizes the filter code for ActionController.
The new filters are made using a Filter class and a derived FilterProxy class that wrap the actual filters. The Filter proxy class handles filters that are either before or after filters, changing them into yielding around filters. The same is done with around filters responding to before and after.
New features added include around_filter that can accept procs, method references (symbols) and objects responding to #filter (in addition to the #before and #after filter objects).
All of these new around filters function similarly to the meantime filters by Roman LE NEGRATE. I have included just about every test that he had written for the meantime filters and successfully made them all pass (currect meantime filter users will be happy). I've improved on the meantime filters in that the order of the filters is no longer determined by the type. Therefore, you can put a before filter after a yielding around filter and so on.
Also, added to the mix is a skip_filter method that will match any before, after or arond filter passed by method reference (symbol).
The key to all this: all legacy filters are supported and function perfectly.
I believe I may have also solved the problem with the #after method of an around filter running even if the filter chain halts after the #before action has run (as requested by the core list).
If this is accepted: AR:B#with_scope (and all the glory that it enables) may now wrap actions cleanly. I'm sure we're all aware of the possibilities.