Permalink
Browse files

updated instructions on how to change the default session store

  • Loading branch information...
1 parent a637494 commit aa654ab0655163fe12403a1811cef8e06844a27f @dcrec1 dcrec1 committed Sep 18, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/base.rb
@@ -93,9 +93,9 @@ module ActionController
# * 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
#
- # config.action_controller.session_store = :active_record_store
+ # MyApplication::Application.config.session_store :active_record_store
#
- # in your <tt>config/environment.rb</tt> and run <tt>script/rails g session_migration</tt>.
+ # in your <tt>config/initializers/session_store.rb</tt> and run <tt>script/rails g session_migration</tt>.
#
# == Responses
#

0 comments on commit aa654ab

Please sign in to comment.