Hacker News new | ask | show | jobs
by jmorton 4834 days ago
For what it's worth... "PATCH is going to be the primary method for updates in Rails 4.0." http://weblog.rubyonrails.org/2012/2/25/edge-rails-patch-is-...

That's not intended to be a counterpoint. In the wild, many companies don't use Rails. :)

1 comments

It doesn't matter what Rails decides to do if your HTTP server doesn't support it.

With that said, it looks like many do already support it (from the same article you linked): Apache, nginx, Phusion Passenger, Unicorn, Thin, and WEBrick.

Also, Rails supports an override as well, so you can send it as a POST but specify a different verb in a header, and it will treat it as a native request with the correct verb.