diff options
author | Steve Klabnik <steve@steveklabnik.com> | 2012-09-18 20:47:54 +0300 |
---|---|---|
committer | Steve Klabnik <steve@steveklabnik.com> | 2012-09-18 20:47:54 +0300 |
commit | 166409337a6bf8c1d57ef8fa8cc8e364f17bb468 (patch) | |
tree | 9d47c6239a2643432069881e5d98f23170cffcea /guides/source/upgrading_ruby_on_rails.textile | |
parent | 143675189ef3f5518c3a2a705ab07ab1451e614e (diff) | |
download | rails-166409337a6bf8c1d57ef8fa8cc8e364f17bb468.tar.gz rails-166409337a6bf8c1d57ef8fa8cc8e364f17bb468.tar.bz2 rails-166409337a6bf8c1d57ef8fa8cc8e364f17bb468.zip |
Update 3.0 -> 3.1 session information.
Fixes #7685
Diffstat (limited to 'guides/source/upgrading_ruby_on_rails.textile')
-rw-r--r-- | guides/source/upgrading_ruby_on_rails.textile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.textile b/guides/source/upgrading_ruby_on_rails.textile index b750cc2ffb..f2fd86127f 100644 --- a/guides/source/upgrading_ruby_on_rails.textile +++ b/guides/source/upgrading_ruby_on_rails.textile @@ -228,3 +228,16 @@ ActiveSupport.on_load(:active_record) do self.include_root_in_json = false end </ruby> + +h4(#config_session3_1). config/initializers/session_store.rb + +You need to change your session key to something new, or remove all sessions: + +<ruby> +# in config/initializers/session_store.rb +AppName::Application.config.session_store :cookie_store, :key => 'SOMETHINGNEW' +</ruby> + +or + +<tt>$ rake db:sessions:clear</tt> |