Hello there, I have a live search that gimme a list of products. In that list, I have a link for each product. That link render the product page. The problem is: After the product page renders, the observe_form calls one last time, and generates an error, because of an invalid div. Does anyone now why? Tks David Sousa codes => observer : http://pastie.org/403081 list : http://pastie.org/403083 action : http://pastie.org/403085 -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Anyone? I did not find the solution yet! tks, David Sousa -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 2, 2:33 pm, David Sousa <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Anyone? > I did not find the solution yet!Neither did I. I have a similar problem with observe_form, using it for validations. It fires a PUT for each field change I make, and a POST (to my validation controller method) after the changes are submitted to the server. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Same here, I notice the same behaviour, when changing a field a PUT is sent, why? decalod85 wrote:> On Mar 2, 2:33�pm, David Sousa <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: >> Anyone? >> I did not find the solution yet! > > Neither did I. I have a similar problem with observe_form, using it > for validations. > > It fires a PUT for each field change I make, and a POST (to my > validation controller method) after the changes are submitted to the > server.-- Posted via http://www.ruby-forum.com/.