aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Carrion <dc.rec1@gmail.com>2010-09-17 23:59:09 -0300
committerDiego Carrion <dc.rec1@gmail.com>2010-09-18 12:46:21 -0300
commita63749483c8d2ff910ab99d75e196239710edcb7 (patch)
treed52a742eb6609ac2ebaf3b92a0618598104de767
parent7329ceb1b9599701e76ce772425248a09adec9d4 (diff)
downloadrails-a63749483c8d2ff910ab99d75e196239710edcb7.tar.gz
rails-a63749483c8d2ff910ab99d75e196239710edcb7.tar.bz2
rails-a63749483c8d2ff910ab99d75e196239710edcb7.zip
updated instructions to generate the migration for the ActiveRecord session store table
-rw-r--r--actionpack/lib/action_controller/base.rb2
-rw-r--r--railties/guides/source/action_controller_overview.textile2
2 files changed, 2 insertions, 2 deletions
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 <tt>config/environment.rb</tt> and run <tt>rake db:sessions:create</tt>.
+ # in your <tt>config/environment.rb</tt> and run <tt>script/rails g session_migration</tt>.
#
# == Responses
#
diff --git a/railties/guides/source/action_controller_overview.textile b/railties/guides/source/action_controller_overview.textile
index b38ae07043..5c77d74df1 100644
--- a/railties/guides/source/action_controller_overview.textile
+++ b/railties/guides/source/action_controller_overview.textile
@@ -161,7 +161,7 @@ If you need a different session storage mechanism, you can change it in the +con
<ruby>
# 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 "rake db:sessions:create")
+# (create the session table with "script/rails g session_migration")
# YourApp::Application.config.session_store :active_record_store
</ruby>