method

reset!

rails latest stable - Class: ActionDispatch::Integration::Session
reset!()
public

Resets the instance. This can be used to reset the state information in an existing session instance, so it can be used from a clean-slate condition.

session.reset!