How do I clear the rails session so I can start with a fresh slate? I know I could just nullify each of the session variables with session[:my_var] = nil, but is there a rake task or something that knows how to restore the session data to its most basic form?
I'm using Spree and it stores a few properties in the session that I would li...
Hi! I have a question about sessions on ruby-on-rails.
We have a several options about session storage such as cookie, active_record_store, etc..
I primarily use the cookie storage, but, there are some client which doesn't support cookie function. In that case, I have to make that client to use the "active_record_store".
My rails versi...
Now, I'm a user of ruby-on-rails 2.3.5.
I want to override the method of "session_store" in ActionController::SessionManagement::ClassMethods.
In my overrides, I need the "request" object which has a lot of useful information such as host name, domain name, etc...
Do you have any idea to get the "request" object in that method.
My rails ...