also, tom, can you be a little more explicit about how to tweak my
code to work around this ("add a request header")?On Jun 15, 4:59 pm, Montgomery Kosma <[email protected]> wrote: > I've been having fits with ajax and decided to work on other more > pressing issues and come back when a little more experienced. What > are the symptoms of this problem? Fingers crossed ... > > On Jun 10, 7:15 am, Tom Locke <[email protected]> wrote: > > > Hi Folks > > > Just in case anyone else is running into this, there's a rather nasty > > bug (or you might call it a breaking change) in Rails 2.3 ajax. > > > You used to be able to add _method=put as a query parameter, and the > > Rails router would recognise that request as a put (even if it was in > > fact a post, which has it's parameters in the body of the request, not > > in the query string). > > > Doesn't work in Rails 2.3 > > > The workaround for now is to add a request header > > HTTP_X_HTTP_METHOD_OVERRIDE = PUT > > > As a result Hobo's ajax is broken right now in various places with > > Rails 2.3. > > > Tom --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
