If you need to see the data recorded in the session store for a given session identifier from the Rails console, you can:
a = Rails.application.config.session_store.new(app, Rails.application.config.session_options) a.class
app and ENV are installed when the rails console starts, you do not need to install these
you can get session_id through any browser plugin related to cookies or (cookie inspector, cookie manager, ...)
equivalent8 Feb 10 '16 at 15:26 2016-02-10 15:26
source share