How can I get "request" object in ActionController::SessionManagement::ClassMethods

Posted by mojalin on Stack Overflow See other posts from Stack Overflow or by mojalin
Published on 2010-03-13T15:12:50Z Indexed on 2010/03/13 15:15 UTC
Read the original article Hit count: 372

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 version is 2.3.5. Thank you in advance.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about session-store