title: Rails: redirect all unknown routes to root_url
body: <p>Whenever a user hits the wrong page, rails shows 404.html from the public folder. However, I'd like just to redirect the browser to the root page, without showing anything. So I tried globbing, but came to no avail, it still shows the 404 page. Here's an extract from my routes file:</p>
  
  <pre><code># ...
  map.root :controller =&gt; 'home', :action =&gt; 'home'
  map.connect '*', :controller =&gt; 'home', :action =&gt; 'home'
  </code></pre>
  
  <p>Any suggestions? Thanks, guys!</p>