aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorArthur Nogueira Neves <github@arthurnn.com>2015-03-19 11:07:02 -0400
committerArthur Nogueira Neves <github@arthurnn.com>2015-03-19 11:07:02 -0400
commitb19990c82c6a9beff0cd058dc2ff67894a2f9ea7 (patch)
treeefe10c7551659cdfbe0e1ffa7b5daa4a898db5ae /railties
parentac291b76ea770b5795c767f2f74a8d0b33744809 (diff)
parentcbadeeb969fe806dff68c0e5470ac551a31a7b19 (diff)
downloadrails-b19990c82c6a9beff0cd058dc2ff67894a2f9ea7.tar.gz
rails-b19990c82c6a9beff0cd058dc2ff67894a2f9ea7.tar.bz2
rails-b19990c82c6a9beff0cd058dc2ff67894a2f9ea7.zip
Merge pull request #19411 from dmathieu/rack_env_changelog
Changelog entry for removal of RACK_ENV fallback
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