Skip to content

Instantly share code, notes, and snippets.

@bogdanRada
Forked from tnez/decode_session_cookie.rb
Created October 25, 2018 12:16
Show Gist options
  • Save bogdanRada/e2312407596f02796193a58846971696 to your computer and use it in GitHub Desktop.
Save bogdanRada/e2312407596f02796193a58846971696 to your computer and use it in GitHub Desktop.
The following can be pasted and evaluated in a rails (~> 3.2) console in order to give a simple utility function to inspect the session cookie that can be taken and pasted directly from browser dev-tools.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment