Reputation: 2460
I am trying to delete the session cookie and havent had any success. Ive tried reset_session, cookies.delete(:id), cookies.clear and nothing has worked. I feel like I'm missing something, can anyone help?
Rails 3.2.1
Upvotes: 2
Views: 7869
Reputation: 649
I believe this will give you the answer:
StackoverFlow Similar question
session[:current_user_id] = nil
This works fine in Rails 3.2.1
reset_session
Shreds everything...
Upvotes: 4