To list the http methods (GET, POST, PUT, DELETE) that are valid for each controller action run:
rake routes
It will list which http methods are configured for all controllers.
You change which http methods are used when editing /config/routes.rb
RailsGuide has a great explanation here .
source share