diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 631a0f29459f6..bd10daee3044c 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 # diff --git a/railties/guides/source/action_controller_overview.textile b/railties/guides/source/action_controller_overview.textile index b38ae07043239..5c77d74df12cd 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 # 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