From cbadeeb969fe806dff68c0e5470ac551a31a7b19 Mon Sep 17 00:00:00 2001 From: Damien Mathieu Date: Thu, 19 Mar 2015 15:55:32 +0100 Subject: add changelog entry for removing the fallback to rack_env [ci skip] --- railties/CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'railties') 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 -- cgit v1.2.3