{"issue":{"created_at":"2011-12-14T21:24:22Z","state":"closed","updated_at":"2011-12-14T22:05:38Z","user":{"gravatar_id":"5607a81b07b8b7cd9e003a6bd80e56a7","id":132404,"url":"https://api.github.com/users/sgentile","login":"sgentile","avatar_url":"https://secure.gravatar.com/avatar/5607a81b07b8b7cd9e003a6bd80e56a7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":3,"body":"with emulateJSON and emulateHTTP off - I had to apply this fix:\r\n\r\n// Ensure that we have the appropriate request data.\r\n    if (!params.data && model && (method == 'create' || method == 'update' || method == 'delete')) {\r\n      params.contentType = 'application/json';\r\n      params.data = JSON.stringify(model.toJSON());\r\n    }\r\n\r\n(added method == 'delete')\r\n\r\notherwise, no params are sent with the DELETE call.  \r\n\r\n(It could be streamlined to only include the id)","assignee":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2558666,"labels":[{"name":"invalid","color":"e6e6e6","url":"https://api.github.com/repos/documentcloud/backbone/labels/invalid"}],"number":789,"title":"model.destroy() not passing id params","html_url":"https://github.com/documentcloud/backbone/issues/789","closed_at":"2011-12-14T21:40:20Z","url":"https://api.github.com/repos/documentcloud/backbone/issues/789","milestone":null},"action":"created","comment":{"created_at":"2011-12-14T22:05:38Z","updated_at":"2011-12-14T22:05:38Z","user":{"gravatar_id":"5607a81b07b8b7cd9e003a6bd80e56a7","id":132404,"url":"https://api.github.com/users/sgentile","login":"sgentile","avatar_url":"https://secure.gravatar.com/avatar/5607a81b07b8b7cd9e003a6bd80e56a7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"ok, even if not in body, it's not getting passed in the url","id":3151663,"url":"https://api.github.com/repos/documentcloud/backbone/issues/comments/3151663"}}