title: link_to with jquery params in rails
body: <p>I want to make an in-place search in my rails app.<br>
  I used button_to_remote with prototype, but now I'm using JQuery, so I changed to link_to.<br>
  This is my code:</p>
  
  <pre><code>&lt;%= link_to "Search", {:action =&gt; "geocode", :with =&gt; "'address='+$('#{address_helper_id}').value"}, :method =&gt; :post, :remote =&gt; true %&gt;
  </code></pre>
  
  <p>I want to pass the address textfield to my controller, but the output is not what I expected.  </p>
  
  <pre><code>/mycontroller/geocode?with=%27address%3D%27%2B%24%28%27record_location___address%27%29.value
  </code></pre>
  
  <p>How do I submit my value?  </p>