{"issue":{"state":"open","pull_request":{"diff_url":"https://github.com/rails/rails/pull/505.diff","html_url":"https://github.com/rails/rails/pull/505","patch_url":"https://github.com/rails/rails/pull/505.patch"},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/139de3f8c3d6ee008cdb3abd3da23908?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"139de3f8c3d6ee008cdb3abd3da23908","url":"https://api.github.com/users/dlee","login":"dlee","id":7035},"labels":[],"assignee":null,"updated_at":"2011-11-16T04:46:07Z","comments":22,"closed_at":null,"url":"https://api.github.com/repos/rails/rails/issues/505","body":"*Updated: update forms default to PUT instead of PATCH for current apps. Defaults to PATCH for new apps.*\r\n\r\nPATCH is the correct HTML verb to map to the #update action. The semantics for\r\nPATCH allows for partial updates, whereas PUT requires a complete replacement.\r\n\r\nChanges:\r\n* adds the #patch verb to routes to detect PATCH requests\r\n* adds #patch? to Request\r\n* adds the PATCH -> update mapping in the #resource(s) routes.\r\n* changes default form helpers to prefer :patch instead of :put for updates *only for new apps*\r\n* changes documentation and comments to indicate the preference for PATCH\r\n\r\nThis change tries to maintain complete backwards compatibility by keeping the\r\noriginal PUT -> update mapping. Users using the #resource(s) routes should not\r\nnotice a change in behavior since both PUT and PATCH requests get mapped to\r\nupdate.","html_url":"https://github.com/rails/rails/issues/505","number":505,"title":"Patch verb","id":880609,"created_at":"2011-05-11T01:21:23Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/139de3f8c3d6ee008cdb3abd3da23908?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"139de3f8c3d6ee008cdb3abd3da23908","url":"https://api.github.com/users/dlee","login":"dlee","id":7035},"updated_at":"2011-11-16T04:46:07Z","url":"https://api.github.com/repos/rails/rails/issues/comments/2755686","body":"@jeremey I was actually responding to your first comment in this thread. You say that explicit `put` overrides would break apps, but I don't see how they would. Can you clarify what you mean by `put` overrides?","id":2755686,"created_at":"2011-11-16T04:46:07Z"}}