Let’s imagine I’m not logged in, and the server stores something in the session, like
session[:color] = blue
Is is possible to keep the setting for the user after logging in? It seems that after I login I get a new session id, and the setting is lost.
I’m using Rails 3.2.5 and Devise 2.1.0
We used a cookie and it solved the problem.