Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Greg DeVore's latest activity

Thursday, March 19 2009
2289 _method=put ignored for xhr and xml requests was updated in Ruby on Rails
  • Greg DeVore
    • Tag set to method, middleware, request, xml
    by Greg DeVore at 1:29 AM

    OK - I was going down the wrong path on this one. The real problem is that in previous versions of rails you could have from post data and pass _method=put as a...

Wednesday, March 18 2009
2289 _method=put ignored for xhr and xml requests was updated in Ruby on Rails
  • Greg DeVore
    Greg DeVore commented at 7:50 PM

    Did some more investigating on this. If an xml request is made a _method=put in the params Rack::MethodOverride is never hit. You have to add an HTTP_X_HTTP_MET...

  • Greg DeVore
    Greg DeVore created the ticket at 6:11 PM

    In previous versions of Rails you could do something like this:

    curl -H "Accept: text/xml"

       -H "Content-type: application/xml"
        d "_method=put" 
        -X PO...