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

Revert "Merge pull request #19411 from dmathieu/rack_env_changelog"

Preserving RACK_ENV behavior.

This reverts commit b19990c82c, reversing
changes made to ac291b76ea.
This commit is contained in:
Jeremy Kemper 2015-03-20 08:13:48 -07:00
parent adae55f476
commit a4e7a6f9d6

View file

@ -1,10 +1,3 @@
* 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