In Rails 2.3, I could just use HOST to get my hostname but it seems it\'s not available anymore. What can I use instead?
I just want something that returns loc
loc
Use the following method on ActionController:
request.host_with_port