title: MouseOver toggle a div in Rails
body: <p>I have an index page of <code>Tasks</code> which I generated from a scaffold.</p>
  
  <p>In order to make it a little more visually appealing, I'd like to hide the edit view and delete links unless there is a <strong>mouseover</strong> event on the title.</p>
  
  <pre><code>&lt;% @tasks.each do |task| %&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;%= task.name %&gt; - &lt;%= link_to 'Move onto '+task.name+' and start its clock', task_start_path(task) %&gt;&lt;/td&gt;
      &lt;td&gt;/ &lt;%= link_to 'Rename task', edit_task_path(task) %&gt;&lt;/td&gt;
      &lt;td&gt;/ &lt;%= link_to 'Check its clocks', task %&gt;&lt;/td&gt;
      &lt;td&gt;/ &lt;%= link_to 'Destroy task', task, :confirm =&gt; 'Are you sure?', :method =&gt; :delete %&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>Is there a clean way to do this in the <code>index.html.erb</code> file or do I need to call some custom helper javascript functions?</p>
  
  <p>I found <a href="https://stackoverflow.com/questions/543760/hide-a-div-rails">Hide a DIV [Rails]</a> but it toggles on click rather than on mouseover.</p>