aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
Diffstat (limited to 'railties')
-rw-r--r--railties/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index f4a8cf86b6..f1fa3c4bf2 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Don't fallback to using `RACK_ENV` when `RAILS_ENV` is not present.
+
+ RACK_ENV does not have the same meaning as RAILS_ENV, and cannot be used as a fallback.
+ See http://www.hezmatt.org/~mpalmer/blog/2013/10/13/rack_env-its-not-for-you.html
+
+ *Damien Mathieu*
+
* Add a new-line to the end of route method generated code.
We need to add a `\n`, because we cannot have two routes