From a053b5b7727fbd57c91f78cf52c1ba17617df51e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 9 Dec 2007 21:54:57 +0000 Subject: [PATCH] Set explicit session store since Rails 2.0 default one (cookie) can not be used. git-svn-id: http://redmine.rubyforge.org/svn/branches/work@967 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- rails-2.0/config/environment.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/rails-2.0/config/environment.rb b/rails-2.0/config/environment.rb index 447e47e21..dced5993e 100644 --- a/rails-2.0/config/environment.rb +++ b/rails-2.0/config/environment.rb @@ -23,6 +23,7 @@ Rails::Initializer.run do |config| # Use the database for sessions instead of the file system # (create the session table with 'rake create_sessions_table') # config.action_controller.session_store = :active_record_store + config.action_controller.session_store = :PStore # Enable page/fragment caching by setting a file-based store # (remember to create the caching directory and make it readable to the application)