I''d report this on the rails trac site but it won''t let me open a new ticket. I figured this was important enough to bring this up now. I replaced the prototype version in Scriptaculous 1.6.4 with the version in 1.6.5 in a rails site I''m working on. I noticed though that even though I was clicking the checkbox to confirm the acceptance of a terms of service that I kept getting a validation error. I was confused so I started looking at the actually XML HTTP Request sent. For some reason the request said that the checkboxes value was 0 NOT 1. (For those who don''t know, when you use the "check_box" method in rails it adds a check box with the value of 1 and a hidden field of the same name with the value of 0) Previously the XHR would send both values and rails would figure that if the 1 was there it was actually checked. Now for some reason the XHR sends only the 0 so that the server doesn''t know that the checkbox was ever checked. Something in Prototype changed between the two versions. I honestly am not experienced enough with Prototype to make a patch on this (and not involved enough in the development to know how this might have changed and why) but this does need to be fixed soon. I would encourage Thomas to release a new version of scriptaculous as soon as possible because there are going to be a lot of rails users confused with this problem. Eric --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I''ve also experienced a problem with the most recent RC of prototype breaking an Ajax call which was previously working. I haven''t been able to nail it down. It only affected Firefox - it worked fine in IE. Is this the same for you? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I never tried it in IE, but I know firefox didn''t work. With the newest RC (its so confused because they''re both rc0) of prototype released with Scriptaculous 1.6.5 the Ajax call is sent its just the checkbox value is wrong. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Can you please give some test case for this, preferabliy at an online URL? Best, Thomas Am 18.11.2006 um 16:46 schrieb Hammy:> > I never tried it in IE, but I know firefox didn''t work. With the > newest > RC (its so confused because they''re both rc0) of prototype released > with Scriptaculous 1.6.5 the Ajax call is sent its just the checkbox > value is wrong. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---