I would like to get in a variable the ip address of the host where my
app is running, to change some parameters if it’s running locally or
remotely … is it possible ?
I cannot use request.host, since there is no request yet
I suppose I should test it in application.rb, not in environment.rb
during initialization …
thanks for your suggestions …