Skip to content

Commit

Permalink
updated instructions to generate the migration for the ActiveRecord s…
Browse files Browse the repository at this point in the history
…ession store table
  • Loading branch information
dcrec1 committed Sep 18, 2010
1 parent 7329ceb commit a637494
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/base.rb
Expand Up @@ -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
#
Expand Down
2 changes: 1 addition & 1 deletion railties/guides/source/action_controller_overview.textile
Expand Up @@ -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>

Expand Down

0 comments on commit a637494

Please sign in to comment.