From a63749483c8d2ff910ab99d75e196239710edcb7 Mon Sep 17 00:00:00 2001 From: Diego Carrion Date: Fri, 17 Sep 2010 23:59:09 -0300 Subject: updated instructions to generate the migration for the ActiveRecord session store table --- actionpack/lib/action_controller/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 631a0f2945..bd10daee30 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -95,7 +95,7 @@ module ActionController # # config.action_controller.session_store = :active_record_store # - # in your config/environment.rb and run rake db:sessions:create. + # in your config/environment.rb and run script/rails g session_migration. # # == Responses # -- cgit v1.2.3 From aa654ab0655163fe12403a1811cef8e06844a27f Mon Sep 17 00:00:00 2001 From: Diego Carrion Date: Sat, 18 Sep 2010 00:02:03 -0300 Subject: updated instructions on how to change the default session store --- actionpack/lib/action_controller/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_controller') 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 config/environment.rb and run script/rails g session_migration. + # in your config/initializers/session_store.rb and run script/rails g session_migration. # # == Responses # -- cgit v1.2.3