about summary refs log tree commit homepage
path: root/test/rails/app-2.0.2/config/environment.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-04-02 03:07:48 -0700
committerEric Wong <normalperson@yhbt.net>2009-04-02 03:10:38 -0700
commit99a1de487400577affdc5e22da253cc710735956 (patch)
tree08c48c585db8aaf6525483ec80d8947915d44586 /test/rails/app-2.0.2/config/environment.rb
parentb11f1901e30955bd4154f715db1522374842912e (diff)
downloadunicorn-99a1de487400577affdc5e22da253cc710735956.tar.gz
Recent changes made to the unicorn_rails loader were needed to
get ActiveRecordStore to load correctly.
Diffstat (limited to 'test/rails/app-2.0.2/config/environment.rb')
-rw-r--r--test/rails/app-2.0.2/config/environment.rb1
1 files changed, 1 insertions, 0 deletions
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}",