I'm having problems getting filters to work in a Rails application. I recently updated it from 1.9 (?) To 2.3.11. To try and debug it, I put before_filter before the controller:
before_filter :false_filter
and in application application_controller.rb:
def false_filter puts "false filter running" false end
Then I call the method either from cucumber / webrat or from the browser, and when the filter receives the call (I see that puts displays a message), the filter chain does not end.
I am wondering if there is some kind of boilerplate code that has not been generated. Can anyone suggest where to look?
ruby-on-rails
Henry Collingridge Jun 15 '11 at 5:10 2011-06-15 05:10
source share