Skip to content

Instantly share code, notes, and snippets.

@ersatzryan
Created April 7, 2011 20:13
Show Gist options
  • Save ersatzryan/908615 to your computer and use it in GitHub Desktop.
Save ersatzryan/908615 to your computer and use it in GitHub Desktop.
# * ActiveRecord::SessionStore - Sessions are stored in your database, which works better than PStore with multiple app servers and,
# unlike CookieStore, hides your session contents from the user. To use ActiveRecord::SessionStore, set
#
# MyApplication::Application.config.session_store :active_record_store
#
# in your <tt>config/initializers/session_store.rb</tt> and run <tt>script/rails g session_migration</tt>.
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment