DEV Community

loading...

Discussion on: Explain the difference between PATCH and PUT Like I'm Five

sudiukil profile image
Quentin Sonrel Author

In any case, when you use Rails to generate a controller (or scaffold) you see that it will route PUT and PATCH requests to the same controller anyway. This can be confirmed by trying to send a PUT request with only some of the parameters, it will work the same way it would have if you used a PATCH request.