Hi,
I’m having problems with sessions and I noticed that in SiteController
the first line is
session :off
I guess I could read all the code but could somebody tell me why that’s
in there and if it would be safe for me to remove it?
Steve
Hi,
I’m having problems with sessions and I noticed that in SiteController
the first line is
session :off
I guess I could read all the code but could somebody tell me why that’s
in there and if it would be safe for me to remove it?
Steve
Let me add the error I was seeing here, so future forum searchers can
find the error and my possible fix.
Here’s what I was seeing:
undefined method `session_id' for {}:Hash
I commented out the “session :off” line in SiteController, and it fixed
my problem.
Steve
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs