Use Active Record session store

This commit is contained in:
Thibault Jouan
2011-08-04 23:02:40 +00:00
parent cec8a18d42
commit 18b254e3d1
3 changed files with 29 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.
Scube::Application.config.session_store :cookie_store, :key => '_scube_session'
#Scube::Application.config.session_store :cookie_store, :key => '_scube_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
# Scube::Application.config.session_store :active_record_store
Scube::Application.config.session_store :active_record_store