title: Switching from prototype to jquery in Rails, what about helpers?
body: <p>I currently switching from prototype to jquery mainly to support simple ajax file upload. I use : <a href="https://github.com/indirect/jquery-rails" rel="nofollow">https://github.com/indirect/jquery-rails</a></p>
  
  <p>95% of javascript code is made by rails helper such as :</p>
  
  <pre><code>- remote_function
  - render :update do |page|
  - page.replace_html 'id', :partial =&gt; 'content'
  - page['form']['name'] = something
  - page.visual_effect :highlight, 'head_success'
  ...
  </code></pre>
  
  <p>I understand that the 5% of code purely prototype I have to rewrite it for Jquery, but what about the rest ? Do I have to rewrite it all in raw jquery ?</p>
  
  <p>I use :</p>
  
  <ul>
  <li>Rails 3.0.7</li>
  <li>jquery-rails 1.0.7</li>
  </ul>