Look up a Rails HTTP Status Code

405 - Method Not Allowed

Rails HTTP Status code :method_not_allowed

When to use status code 405

A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST, or using PUT on a read-only resource.