Permalink
Browse files

Update 3.0 -> 3.1 session information.

Fixes #7685
  • Loading branch information...
steveklabnik committed Sep 18, 2012
1 parent 1436751 commit 166409337a6bf8c1d57ef8fa8cc8e364f17bb468
Showing with 13 additions and 0 deletions.
  1. +13 −0 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>

0 comments on commit 1664093

Please sign in to comment.