E
E
eldar_web2015-06-03 14:48:06
Ruby on Rails
eldar_web, 2015-06-03 14:48:06

How to delete all sessions at once in Rails?

There are sessions like session[:1],session[:2],session[:3] ...
How can I manually reset all of them, can I somehow delete all these sessions at once?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Kononenko, 2015-06-03
@eldar_web

session.clear

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question