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

Mention environment variable instead of just environment

This commit is contained in:
Prathamesh Sonpatki 2019-03-11 18:52:40 +05:30
parent 33800d2330
commit 4cdc93a1e4
No known key found for this signature in database
GPG key ID: C1819D4BD8FFDDC4
2 changed files with 4 additions and 4 deletions

View file

@ -268,9 +268,9 @@
*Jose Luis Duran*
* Deprecate support for using the `HOST` environment to specify the server IP.
* Deprecate support for using the `HOST` environment variable to specify the server IP.
The `BINDING` environment should be used instead.
The `BINDING` environment variable should be used instead.
Fixes #29516.

View file

@ -221,8 +221,8 @@ module Rails
if ENV["HOST"] && !ENV["BINDING"]
ActiveSupport::Deprecation.warn(<<-MSG.squish)
Using the `HOST` environment to specify the IP is deprecated and will be removed in Rails 6.1.
Please use `BINDING` environment instead.
Using the `HOST` environment variable to specify the IP is deprecated and will be removed in Rails 6.1.
Please use `BINDING` environment variable instead.
MSG
return ENV["HOST"]