title: Ajax is not defined on remote_form_for
body: <p>I encountred an error on form submission. This form is defined as :</p>
  
  <pre><code>&lt;% remote_form_for @my_object do |f| %&gt;
    ...
  &lt;% end %&gt;
  </code></pre>
  
  <p>The generated HTML is :</p>
  
  <pre><code>&lt;form action="/my_objects" id="new_my_object" method="post"
     onsubmit="new Ajax.Request('/customers', {
        asynchronous:true,
        evalScripts:true,
        parameters:Form.serialize(this)
     }); return false;"&gt;
     ...
  &lt;/form&gt;
  </code></pre>
  
  <p>I encountred this JS error :</p>
  
  <pre><code>Uncaught ReferenceError: Ajax is not defined 
  </code></pre>
  
  <p>I read somewhere it's a Prototype error, but I don't understand the mistake I made.</p>
  
  <p>My configuration is Rails 2.3.16, Ruby 1.8.6, jquery 1.9.1 and jquery-ui 1.10.2.</p>