box-o-sand/RubyFun/cookbook/015/hodgepodge/config/initializers/session_store.rb
Dan Buch 0a9428093c Add 'RubyFun/' from commit 'b01c6826131196ba58b5288a3182f2526c89c249'
git-subtree-dir: RubyFun
git-subtree-mainline: a04a502787
git-subtree-split: b01c682613
2013-01-09 23:50:14 -05:00

9 lines
425 B
Ruby

# Be sure to restart your server when you modify this file.
Hodgepodge::Application.config.session_store :cookie_store, :key => '_hodgepodge_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")
# Hodgepodge::Application.config.session_store :active_record_store