title: In Rails, how to get current URL (but no paths)
body: <p>If I'm in a URL such as</p>
  <pre><code>http://domain.example/mysite/bla
  </code></pre>
  <p>How can I request just the URL with no paths? Such as</p>
  <pre><code>http://domain.example
  </code></pre>