Where is session.clear in the docs and how does it differ from reset_session?


#1

I can find reset_session in the docs https://apidock.com/rails/ActionController/Base/reset_session

But I can’t find session.clear

Where is session.clear in the docs, and how does it differ from reset_session?

Thanks


#2

turns out reset_session is better to use anyway as it includes session.clear


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.