search for: beforefilter

Displaying 2 results from an estimated 2 matches for "beforefilter".

Did you mean: before_filter
2007 Nov 20
2
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
2011 Mar 30
3
Test errors in fuctional test after adding before_filter :login_required to controller
Hello, I added the "before_filter" to my controllers to require a login of the user. Here''s an example of my Unit Controller with the added before_filter: IN THE ATTACHED FILE When executing the tests with rake test, I get different error messages. To show you my errors, I only executed the unit controller test with the following line: ruby -Itest