After Filter Runs Even When Chain Is Halted

For a particular set of actions, I have a before and an after filter.
When the before filter returns false, however, the after filter still
executes (which I can tell because an error is being thrown from it.)
I know the before filter successfully returns false, because the logs
show that the chain was halted.

What could be causing the after filter to run despite the halting of
the chain in the before filter?

(This is on Rails 1.2.3, and none of the plug-ins I’m using appear to
modify the filter functionality of ActionController in any way.)

Thanks in advance for any insight you can provide.

Ian

On 20 Nov 2007, at 00:01, Ian Lesperance wrote:

(This is on Rails 1.2.3, and none of the plug-ins I’m using appear to
modify the filter functionality of ActionController in any way.)

Thanks in advance for any insight you can provide.

This bit me a while back. IIRC, this is just the way things are.

Fred

A-ha. Looks like this was fixed for Rails 1.2.4 with Revision 7177.

Ian

On Nov 19, 8:08 pm, Frederick C. [email protected]