title: Ruby on rails: URL from ids to names/titles etc
body: <p>I created model objects of from generating a scaffold, but now I want to instead of linking to<br>
  /:controller/:id (/objectname/1) to /:controller/:title (/objectname/new_blog_post). How do I do this so that links will correct link to the title and not id?</p>
  
  <p>I want to go from:</p>
  
  <pre><code>/:controller/:id 
  </code></pre>
  
  <p>to</p>
  
  <pre><code>/:controller/:name 
  </code></pre>