Skip to content

Instantly share code, notes, and snippets.

@Tigraine
Created August 3, 2012 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tigraine/3246230 to your computer and use it in GitHub Desktop.
Save Tigraine/3246230 to your computer and use it in GitHub Desktop.
expiring cookie based sessions
MyApp::Application.config.secret_token = '10dfec4781b682762a731a5e88af78521fc3e0f8f216fe7d4171d8222be3d4f469a175af41549660db6ac144dba807eb70779aff46f428d6d92e9e2fa6fa96b3'
$ rake secret
10dfec4781b682762a731a5e88af78521fc3e0f8f216fe7d4171d8222be3d4f469a175af41549660db6ac144dba807eb70779aff46f428d6d92e9e2fa6fa96b3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment