diff options
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> |