I have added a before_filter method in my application. Mainly most of
the controllers use that method except one controller. The whole
controller does not use this method, so I want to exclude it from the
list
I tried
before_filter :authenticate, :except => [:methods_here ]
Thanks for the fast answer
in fact I find a way
there is a method called
skip_before_filter
which you add it into the controller and it will do the job
Yeah I'm using the skip_before_filter method too,
but still, it seems it would be better if you could specify a
controller/action like your original posts suggests
that way you can include the filter on everything by applying it to the
ApplicationController, and only remove it from the few
controllers/actions that don't need it.