Update 3.0 -> 3.1 session information.

Fixes #7685
This commit is contained in:
Steve Klabnik 2012-09-18 20:47:54 +03:00
parent 143675189e
commit 166409337a

@ -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>