Created
May 17, 2011 23:53
-
-
Save nesquena/977690 to your computer and use it in GitHub Desktop.
Padrino session snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/apps.rb | |
Padrino.configure_apps do | |
enable :sessions | |
# $ padrino rake gen | |
# $ rake secret | |
set :session_secret, "long secret key pasted here" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are having issues with sessions, upgrade to Padrino 0.9.28 and use this gist to fix it.