Reputation: 14978
I am trying to store session simply by doing session[:user_id] = 1
. When I access it in next line by doing puts(session)
it prints <ActionController::RequestForgeryProtection::ProtectionMethods::NullSession::NullSessionHash:0x0000010433dda8>
I m also not able to fetch session[:user_id]
in other pages.
Upvotes: 0
Views: 250