From 99a1de487400577affdc5e22da253cc710735956 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 2 Apr 2009 03:07:48 -0700 Subject: test/rails: v2.1.2 + ActiveRecordStore all around Recent changes made to the unicorn_rails loader were needed to get ActiveRecordStore to load correctly. --- test/rails/app-2.0.2/config/environment.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/rails/app-2.0.2/config/environment.rb') diff --git a/test/rails/app-2.0.2/config/environment.rb b/test/rails/app-2.0.2/config/environment.rb index cb90b4b..7c720f6 100644 --- a/test/rails/app-2.0.2/config/environment.rb +++ b/test/rails/app-2.0.2/config/environment.rb @@ -7,6 +7,7 @@ require File.join(File.dirname(__FILE__), 'boot') Rails::Initializer.run do |config| config.frameworks -= [ :action_web_service, :action_mailer ] + config.action_controller.session_store = :active_record_store config.action_controller.session = { :session_key => "_unicorn_rails_test.#{rand}", :secret => "#{rand}#{rand}#{rand}#{rand}", -- cgit v1.2.3-24-ge0c7