diff options
author | Diego Carrion <dc.rec1@gmail.com> | 2010-09-18 00:02:03 -0300 |
---|---|---|
committer | Diego Carrion <dc.rec1@gmail.com> | 2010-09-18 12:46:21 -0300 |
commit | aa654ab0655163fe12403a1811cef8e06844a27f (patch) | |
tree | 7f0d05249c9315d76ffa94f0d9814b159cc4a1b8 /actionpack | |
parent | a63749483c8d2ff910ab99d75e196239710edcb7 (diff) | |
download | rails-aa654ab0655163fe12403a1811cef8e06844a27f.tar.gz rails-aa654ab0655163fe12403a1811cef8e06844a27f.tar.bz2 rails-aa654ab0655163fe12403a1811cef8e06844a27f.zip |
updated instructions on how to change the default session store
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index bd10daee30..48308cbb60 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/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 # |