search for: new_sessions_path

Displaying 2 results from an estimated 2 matches for "new_sessions_path".

Did you mean: new_session_path
2010 May 27
3
before_filter always running in test, not in development or production mode.
...re is the code for my before_filter that is actually making this test fail: def login_required authorized? || access_denied end def access_denied session[:return_to] = request.fullpath flash[:error] = t(''application.flash.error.login_required'') redirect_to(new_sessions_path) end This code, as far as my understanding goes, should NOT ever be called from this test though... I have the :only => [] in the controller to not do it on show. Can anyone lend any insight as to why it is being triggered? Another strange thing is this DOES NOT happen in production or develo...
2008 Jan 11
6
couple of newbie questions about redirects
I''m working on an app, and am new to both ruby and facebooker. Here is my current area of confusion: What should happen on a user''s initial visit to my app? When I hit apps.facebook.com/<my app> for the first time with no cookies or sessions or anything, I''m asked if I want to log into the app, etc., and am then redirected to my callback url outside of facebook.