[Ruby] [PATCH of HTTP method]

less than 1 minute read

What is PATCH

It is a method that can send the information from the browser to the server and rewrite the information in the server, which is used when updating the registration information.

When you actually edit the original data after performing the edit action with rails and moving to the edit screen Update action will be executed, but by using PATCH of HTTP method as the routing at that time, update action can be started and data can be updated.