aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'railties/CHANGELOG.md')
-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