# HG changeset patch # User edogawaconan # Date 1381380454 0 # Node ID 62093471230882a26a02d938b8195933ade87790 # Parent 9d6f13168d2535d199285b5e7491c266d8e0e5ec The correct way to set session store. diff -r 9d6f13168d25 -r 620934712308 config/initializers/session_store.rb --- a/config/initializers/session_store.rb Thu Oct 10 04:27:32 2013 +0000 +++ b/config/initializers/session_store.rb Thu Oct 10 04:47:34 2013 +0000 @@ -1,6 +1,6 @@ # Be sure to restart your server when you modify this file. -Zeropaste::Application.config.session_store ActionDispatch::Session::CacheStore +Zeropaste::Application.config.session_store :cache_store # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly confidential information