title: Making a table row into a link in Rails
body: <p>I am trying to make a row in a table link to the edit page.  I know the links are being created, because I can print them out.  I am close, but am missing something important.  What do I change to make the link work properly?</p>
  
  <pre><code>&lt;h1&gt;Scouts&lt;/h1&gt;
  &lt;p&gt;&lt;%= button_to "Add a new Scout", new_scout_path, :method =&gt; :get %&gt;&lt;/p&gt;
  &lt;div class="message-board"&gt;
    &lt;table&gt;
      &lt;tr&gt;
        &lt;th&gt;Name&lt;/th&gt;
        &lt;th&gt;Rank&lt;/th&gt;
        &lt;th&gt;Advancement Date&lt;/th&gt;
        &lt;th&gt;Age&lt;/th&gt;
      &lt;/tr&gt;  
  
  &lt;% @scouts.each do |scout| %&gt;
      &lt;tr &lt;% link_to edit_scout_path(scout) %&gt; &gt;
        &lt;td&gt;&lt;%= scout.name %&gt;&lt;/td&gt;
        &lt;td&gt;&lt;%= scout.rank %&gt;&lt;/td&gt;
        &lt;td&gt;&lt;%= scout.advancement %&gt;&lt;/td&gt;
        &lt;td&gt;&lt;%= scout.age %&gt;&lt;/td&gt;
      &lt;/tr&gt;
  &lt;% end %&gt;
    &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>