title: link_to syntax, multiple options
body: <p>I'm having trouble getting my links the way I want them.  Currently, I have the following code:</p>
  
  <pre><code>&lt;%= link_to  :action =&gt; 'toggle' ,  :id =&gt; item.id, :remote =&gt; true  do %&gt;
      &lt;i class="icon icon-test"&gt;&lt;/i&gt;&lt;b&gt;Toggle&lt;/b&gt;
  &lt;%end%&gt;
  </code></pre>
  
  <p>This will produce the links that I want, but include <code>&amp;remote=true</code> in the link path instead of actually making the link ajaxy.  Attempts to wrap parameters in parentheses or curly braces  like</p>
  
  <pre><code>&lt;%= link_to {:action =&gt; 'toggle', :remote =&gt; true }, :id =&gt; item.id do %&gt; ...
  </code></pre>
  
  <p>gives me errors like</p>
  
  <blockquote>
    <p>syntax error, unexpected tASSOC, expecting '}'</p>
  </blockquote>
  
  <p>I'm thinking I want to make a call to the third signature listed <a href="http://api.rubyonrails.org/classes/ActionView/Helpers/UrlHelper.html#method-i-link_to" rel="nofollow">here</a>, but I can't seem to get the syntax right.</p>