about summary refs log tree commit homepage
path: root/t/rails3-app/config/environments/development.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-06-03 23:01:20 +0000
committerEric Wong <normalperson@yhbt.net>2010-06-03 23:01:20 +0000
commite687ede9cd390b09bf1e87c6de18924ec57ff3c3 (patch)
treec08e580f888dc3d8db9e1051602f64254ac705f6 /t/rails3-app/config/environments/development.rb
parent8e55e561a1bcba57bf429c9c2111ec5351fcb1b3 (diff)
downloadunicorn-e687ede9cd390b09bf1e87c6de18924ec57ff3c3.tar.gz
We'll be switching to Isolate and shell-based tests
since the old test/unit-based Rails test was basically
a shell script written in Ruby.
Diffstat (limited to 't/rails3-app/config/environments/development.rb')
-rw-r--r--t/rails3-app/config/environments/development.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/t/rails3-app/config/environments/development.rb b/t/rails3-app/config/environments/development.rb
new file mode 100644
index 0000000..c00c9a5
--- /dev/null
+++ b/t/rails3-app/config/environments/development.rb
@@ -0,0 +1,19 @@
+App::Application.configure do
+  # Settings specified here will take precedence over those in config/environment.rb
+
+  # In the development environment your application's code is reloaded on
+  # every request.  This slows down response time but is perfect for development
+  # since you don't have to restart the webserver when you make code changes.
+  config.cache_classes = false
+
+  # Log error messages when you accidentally call methods on nil.
+  config.whiny_nils = true
+
+  # Show full error reports and disable caching
+  config.consider_all_requests_local       = true
+  config.action_view.debug_rjs             = true
+  config.action_controller.perform_caching = false
+
+  # Don't care if the mailer can't send
+  config.action_mailer.raise_delivery_errors = false
+end