aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-11-09 14:03:54 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-11-09 14:03:54 +0000
commit6422f8b4633b773733ff0f2c4785979e4c515552 (patch)
tree6b2667d22537a67cb3af37c6a460885a419e410d /railties
parentb7ce9c5a870c86cd993a8db99aa961510df56864 (diff)
downloadrails-6422f8b4633b773733ff0f2c4785979e4c515552.tar.gz
rails-6422f8b4633b773733ff0f2c4785979e4c515552.tar.bz2
rails-6422f8b4633b773733ff0f2c4785979e4c515552.zip
Increase criticality in comment for ENV["RAILS_ENV"]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r--railties/environments/environment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb
index 1ead71b75c..a8dfe25074 100644
--- a/railties/environments/environment.rb
+++ b/railties/environments/environment.rb
@@ -2,7 +2,7 @@
# Uncomment below to force Rails into production mode
# (Use only when you can't set environment variables through your web/app server)
-# ENV['RAILS_ENV'] ||= 'production'
+# ENV['RAILS_ENV'] ||= 'production' # Keep the ||=, don't use =, or tests will wipe production db
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')