Frederick Cheung wrote: > On 10 Feb 2009, at 18:40, Raimon Fs wrote: > >> doesn't work on 2.2.2, and I started to make changes and changes and >> read forums and the api, but no way ... >> > > Random guesses: assuming that the page contains more than just this: > - are all dom ids unique > - have you got nested forms ? > > Fred
Here is the .erb file: <% form_remote_for (:expedient, :method => :put, :url => {:action => 'create_ajax'}, :update =>'div_listd') do |f| %> <%= f.error_messages %> <table class="edit"> <tr> <td class="label" width="100px">Referencia</td> <td class="data"><%= f.text_field :reference %></td> <td><%= submit_tag "AƱadir" %></td> </tr> </table> <% end %> <br> <h1>Expedientes listos para ser enviados</h1> <div id="div_listd" > <%= render :partial => "list" %> </div> <%= link_to 'General', :action => 'index' %> | <%= link_to 'Back', expedients_path %> -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---