Report question

Question: Rails: how to get the current host, or build a URL with it?