This project is archived and is in readonly mode.
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.
view:
<%= render(:partial => "telefone_do_clientes", :object => @telefone_do_clientes) %>
<%= submit_tag "Adicionar Telefone" %>
<% end %>
controller: def adiciona_telefone [...]
respond_to { |format| format.js }
end
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
-
Frederico Hahn Pesenti March 27th, 2009 @ 11:10 AM
- no changes were found...
-
Frederico Hahn Pesenti March 27th, 2009 @ 11:10 AM
- no changes were found...
-
Nextpulse May 14th, 2009 @ 01:41 AM
I am having the same issue.
Port from 2.2 to 2.3.I am seeing very different output from the same code.
Investigating further. -
Martin Schubert May 20th, 2009 @ 07:24 PM
same problem here! ajax file uploads using attachment_fu and respond_to parent seems to be broken somehow.
as far as i investigated the situation for me:
i use the :format => "js" option in my form_for :url definition, but rails doesnt seem to consider the request as javascript.
any ideas?
-
Martin Schubert May 20th, 2009 @ 08:34 PM
sorry!!! my previous statement can be considered useless....
-
Frederico Hahn Pesenti May 25th, 2009 @ 12:08 PM
Dougal,
it's already here... in the post attachments, have you found it? -
Frederico Hahn Pesenti July 1st, 2009 @ 10:03 PM
Guys,
the problem was solved when I turned to Ruby 1.8.7, I was using 1.8.6
:D -
Ryan Bigg May 17th, 2010 @ 05:30 AM
- Tag set to bugmash
-
Rohit Arondekar June 19th, 2010 @ 05:12 PM
- State changed from new to invalid
Frederico, I'm closing the ticket since you said the issue was solved on upgrading to 1.8.7. If the issue was not completely solved feel free to make a comment to re-open the ticket, and I'll do so.
-
Ryan Bigg November 8th, 2010 @ 01:53 AM
- Tag cleared.
- Importance changed from to Low
Automatic cleanup of spam.
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>