search for: check_for_session_cooki

Displaying 1 result from an estimated 1 matches for "check_for_session_cooki".

2006 May 08
3
Can you have multiple before filters?
Hi, Is it possible to specify multiple before filters in a controller... here''s the thing: only one set of filters is to use the :except option. Something like: before_filter :check_for_session_cookie before_filter :validate_user :except =>[''login''] which I use to a) check if the user has returned to the site and has a saved cookie holding login details b) check to see if user is logged on, unless they are attempting to do so. As far as I can tell the :except is applied...