title: RubyOnRails: url_for application root
body: <p>i know that doing</p>
  
  <pre><code>url_for(:only_path =&gt; false, :controller =&gt; 'home')
  </code></pre>
  
  <p>I will get, for example, <strong>http://localhost/home</strong></p>
  
  <p>But how do i handle to genereate <strong>http://localhost</strong></p>