aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDamien Mathieu <damien@heroku.com>2015-03-19 15:55:32 +0100
committerDamien Mathieu <damien@heroku.com>2015-03-19 16:04:49 +0100
commitcbadeeb969fe806dff68c0e5470ac551a31a7b19 (patch)
tree26076f38829bdd6b0d5e1447240db0b810a177e9 /railties
parent7bdc7635b885e473f6a577264fd8efad1c02174f (diff)
downloadrails-cbadeeb969fe806dff68c0e5470ac551a31a7b19.tar.gz
rails-cbadeeb969fe806dff68c0e5470ac551a31a7b19.tar.bz2
rails-cbadeeb969fe806dff68c0e5470ac551a31a7b19.zip
add changelog entry for removing the fallback to rack_env
[ci skip]
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