title: How to fix this Rails 3 link_to method?
body: <p>I have the following <code>link_to</code> methods:</p>
  
  <pre><code>&lt;%= link_to "Vote up",   :url =&gt; {:controller =&gt; :votes, :action =&gt; :vote_up, :id =&gt; i.id},
                           :update =&gt; "total_value_#{i.id}",
                           :remote =&gt; true %&gt;
  &lt;%= link_to "Vote down", :url =&gt; {:controller =&gt; :votes, :action =&gt; :vote_down, :id =&gt; i.id},
                           :update =&gt; "total_value_#{i.id}", 
                           :remote =&gt; true %&gt;
  </code></pre>
  
  <p>I think there are some parts where I need <code>{}</code> or <code>()</code>. But I'm not sure where.</p>
  
  <p>Any suggestions?</p>
  
  <p>EDIT:</p>
  
  <p>I get no syntax errors just this strange URL:</p>
  
  <blockquote>
    <p><a href="http://localhost:3000/?remote=true&amp;update=total_value_29&amp;url%5Baction%5D=vote_up&amp;url%5Bcontroller%5D=votes&amp;url%5Bid%5D=29" rel="nofollow">http://localhost:3000/?remote=true&amp;update=total_value_29&amp;url%5Baction%5D=vote_up&amp;url%5Bcontroller%5D=votes&amp;url%5Bid%5D=29</a></p>
  </blockquote>
  
  <p>The link should trigger the action in the controller.</p>