根据http://guides.rubyonrails.org/routing.html:
HTTP Verb Path Action Used for
GET /photos index display a list of all photos
GET /photos/new new return an HTML form for creating a new photo
POST /photos create create a new photo
GET /photos/:id show display a specific photo
GET /photos/:id/edit edit return an HTML form for editing a photo
PATCH/PUT /photos/:id update update a specific photo
DELETE /photos/:id destroy delete a specific photo
Rails 如何知道何时收到 PATCH/PUT REST。我了解获取/发布但 PATCH/PUT 我无法弄清楚。是在内部完成的,比如在输入中。