Web Site | Blog

Posts by John Young

22 Jan 2008, 21:54
Mustache_pragsmall

John Young (1 post)

(from Agile Web Development with Rails (2nd edition) > xml_http_request :put errata -- any workaround?)

Hi folks!

I’m working through the depot application, and I’ve run into the problem whereby the user_stories_test.rb, as given in the book, throws error:

NoMethodError: undefined method `[]’ for :put:Symbol

This is captured in the errata, but I’ll be jig-swiggered if I can find a workaround. Does anyone have any suggestions for getting this to work? Should I use a good ‘ol POST request instead of an XHR?

Thanks in advance for any help you can provide!

1 post