Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update 3.0 -> 3.1 session information.

Fixes #7685
  • Loading branch information...
commit 166409337a6bf8c1d57ef8fa8cc8e364f17bb468 1 parent 1436751
@steveklabnik steveklabnik authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 guides/source/upgrading_ruby_on_rails.textile
View
13 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>
Please sign in to comment.
Something went wrong with that request. Please try again.