• Home »
  • Errors »
  • Rails error: Only get, head, post, put, and delete requests are allowed.

Rails error: Only get, head, post, put, and delete requests are allowed.

If you you receive the following with a Ruby on Rails site:

Ruby On Rails Error:

Only specific requests are allowed.

ActionController::MethodNotAllowed
Only get, head, post, put, and delete requests are allowed.

The solution is to kill existing web/app server processes and restart the web/app server. Then, reload the page.

Agile Web Development with Rails, Third Edition (Paperback)

By (author): Sam Ruby, Dave Thomas, David Heinemeier Hansson


List Price: $43.95 USD
New From: $2.94 USD In Stock
Used from: $0.01 USD In Stock

Advanced Rails (Paperback)

By (author): Brad Ediger


List Price: $34.99 USD
New From: $2.68 USD In Stock
Used from: $0.01 USD In Stock

Share