KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I got an Rails 3 app that uses Devise. I am just wondering how I can "kill" the current session? This works but I do not know what it does Devise.sign_out_all_scopes ? sign_out : sign_out(resource_name) This does not work current_user = nil This does not work either session[:current_user] = nil
Tags (comma-separated)
Save Edits
Cancel