Rails: how to get the current host, or build a URL with it? [duplicate] Rails: how to get the current host, or build a URL with it? [duplicate] ruby ruby