if that doesn't fix your problem, I also found a different bug in the edge
filter processing that occurs when one filter adds an additional filter
while processing - a bug in update_filter_chain.

http://dev.rubyonrails.org/ticket/8383

-Andrew

On 7/6/07, Stefan Kaes <[EMAIL PROTECTED]> wrote:
>
>  A patch is here: http://dev.rubyonrails.org/ticket/8891
>
> On 6/27/07, Michael Koziarski < [EMAIL PROTECTED]> wrote:
> >
> >
> > > 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
> >
> >
> >
> >
>
>
> --
> --
> For rails performance tuning, see: http://railsexpress.de/blog
> Subscription: http://railsexpress.de/blog/xml/rss20/feed.xml
> >
>


-- 
Andrew Kuklewicz

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to