> Filter chaining appears to behave in differently than Rails 1.2.x. It > seems that I'm getting a lot of errors along the lines of: > > ActionController::ActionControllerError: filter > #<ActionController::Filters::ClassMethods::BeforeFilterProxy:0x322f468 > @filter=#<ActionController::Filters::ClassMethods::SymbolFilter: > 0x322f4b8 @filter=:login_required>> was in the wrong place! > > This isn't very helpful. How are you guys hunting down the problems > with your filter ordering?
With much gnashing of teeth to be honest. But I don't think what you're seeing is a mistake on your part, but rather a bug in rails. I've been seeing that bug with one of my applications, but have had no luck reproducing it in the test cases for filters. I was planning on spending some time this weekend isolating it in a smaller sample app, but if you could help out with that I'd be very grateful. -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
