title: How to add confirm message with link_to Ruby on rails
body: <p>I wanted to add confirmation message on link_to function with Ruby.</p>
  
  <pre><code>= link_to 'Reset message', :action=&gt;'reset' ,:confirm=&gt;'Are you sure?'
  </code></pre>
  
  <p>Any ideas why it's not working? </p>