about summary refs log tree commit homepage
path: root/test/rails/app-2.3.8/config/environments/production.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-03 22:53:28 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-03 22:58:08 +0000
commit8e55e561a1bcba57bf429c9c2111ec5351fcb1b3 (patch)
tree9b46547b67dff0f6b655081b3cfc24c25da09593 /test/rails/app-2.3.8/config/environments/production.rb
parent4b44e21957e4cb8ec6ace5604fbe096dfd8959d2 (diff)
downloadunicorn-8e55e561a1bcba57bf429c9c2111ec5351fcb1b3.tar.gz
This allows us to gets rid of the Rack 1.0.1 dependency when
running Rails tests since previous versions of Rails 2.3.x
needed Rack 1.0.1, where as Rails 2.2.x and below could be used
with any version of Rack (under Unicorn only).
Diffstat (limited to 'test/rails/app-2.3.8/config/environments/production.rb')
-rw-r--r--test/rails/app-2.3.8/config/environments/production.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/rails/app-2.3.8/config/environments/production.rb b/test/rails/app-2.3.8/config/environments/production.rb
new file mode 100644
index 0000000..08710a4
--- /dev/null
+++ b/test/rails/app-2.3.8/config/environments/production.rb
@@ -0,0 +1,6 @@
+# -*- encoding: binary -*-
+
+config.cache_classes = true
+config.action_controller.consider_all_requests_local = false
+config.action_controller.perform_caching             = true
+config.action_view.cache_template_loading            = true