On Thu, Jan 19, 2012 at 10:23 AM, Dan King <[email protected]> wrote: > I've added two before filters in one of my controllers like so: > > before_filter :filter_one > before_filter :filter_two > > The first filter (:filter_one) always fires, but the second filter > (:filter_two) never does. Anyone know how to make both filters always > fire?
That works fine for me, though I would probably just put both on the same line, e.g. before_filter :filter_one, :filter_two Chances are your second filter is failing somehow; adding logging statements might help track it down. -- Hassan Schroeder ------------------------ [email protected] http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en.

