1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #19411 from dmathieu/rack_env_changelog

Changelog entry for removal of RACK_ENV fallback
This commit is contained in:
Arthur Nogueira Neves 2015-03-19 11:07:02 -04:00
commit b19990c82c

View file

@ -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