search for: direct_to

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

Did you mean: direct_io
2007 Apr 02
2
redirect_to an uncertain hash
I am trying to deal with a redirection based upon what to do after a session has expired. I take the params hash and stuff it into a new session as part of the new login and then after login, I want to redirect to this hash as though they were params again... Thus I start by setting session[:direct_to] = @params And after I login, I want to redirect based upon the values in session[:direct_to]... What I am trying to do is this but I keep getting syntax errors... redirect_to (session[:direct_to].each do |key, value| "#{key} => #{value}" end) Of course there are...