title: remote true does not works in update method
body: <p>I have this code...</p>
  
  <pre><code>    &lt;%= simple_form_for my_object, url: object_path(object_id), html: {class: "form account-form"}, remote: true do |f| %&gt;
          &lt;div class="row"&gt;
            &lt;div class="col-md-4"&gt;
                  &lt;%= f.input :numero_matricula, label: "Núm. de Matricula" %&gt;    
            &lt;/div&gt;
            &lt;div class="col-md-4"&gt;
            &lt;%= f.input :rg, label: "Rg", required: true %&gt;   
          &lt;/div&gt;
          &lt;%= f.button :submit, class: 'btn-default', disabled: false %&gt;
      &lt;% end %&gt;
  </code></pre>
  
  <p>When i click at the submit button, the request is html, but i need to call the update.js.erb. In my applicatin.js i have this:</p>
  
  <pre><code>//= require jquery
  //= require jquery_ujs
  //= require icheck
  //= require chosen
  //= require jquery.mask
  //= require jquery.maskMoney
  //= require bootstrap
  //= require smart_listing
  //= require bootstrapValidator
  //= require bootstrap-datetimepicker
  //= require locales/bootstrap-datetimepicker.pt-BR
  //= require editable/bootstrap-editable
  //= require editable/rails
  //= require_tree .
  </code></pre>
  
  <p>This is the controller:</p>
  
  <pre><code>class FuncionariosController &lt; ApplicationController  
     respond_to :html, :json, :js  
  
     def update
      @Object = Funcionario.find(params[:id])
      @object.update_attributes(params[:object])
     end
  end
  </code></pre>
  
  <p>does anyone know what I'm doing wrong?</p>
  
  <p>If you need more information I am available...</p>