This project is archived and is in readonly mode.

#2354 ✓invalid
Frederico Hahn Pesenti

respond_to rails 2.3.2 broken

Reported by Frederico Hahn Pesenti | March 26th, 2009 @ 09:43 PM | in 3.x

guys, after i upgraded my project from rails 2.2.2 to 2.3.2 the form_remote_tag i use to update a div stopped to work in some web browsers (it only works on firefox now - no ie7, ie8, chrome or opera) it continues to send the request and receives the response but the div's contents doesn't change. when i submit the form the values change correctly.


<%= render(:partial => "telefone_do_clientes", :object => @telefone_do_clientes) %>

[...] <% form_remote_tag :url => { :action => :adiciona_telefone } do %> <%= text_field "telefone", "telefone", :class => "valor" %>
<%= submit_tag "Adicionar Telefone" %>

<% end %>

controller: def adiciona_telefone [...]

respond_to { |format| format.js }


i used respond_to this way since 2.0.x and it worked fine, i read that the new 2.3 version changed a lot of this method, can you verify this? when i force version 2.2.2 on my env conf file, it works! thanks

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>