title: Link_to Show Action in Rails
body: <p>In my <code>index.html.erb</code> file, I have:</p>
  
  <pre><code>&lt;% @posts.each do |post| %&gt;
    &lt;%= post.title %&gt;
    &lt;%= link_to 'Show', post %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>How can I link_to the show action but having the <code>&lt;%= post.title =&gt;</code> as the name of the link?</p>
  
  <p>I've tried <code>&lt;%= link_to '&lt;%= post.title %&gt;', post %&gt;</code> but it doesn't work. Am I missing something or do I need to change something?</p>