I recieve the above mentioned error message during my log file sometimes, originates from actionpack-x.y.z/action_controller/request.rb.

What must i do to be able to prevent a route on anything apart from HTTP techniques like get, put, delete ?

HTTP CONNECT demands are usually originating from proxy server or spiders.

We are able to tackle the above mentioned problem with the addition of a filter in web server, to ensure that individuals demands are refused. So it's much more about tuning the net server than doing within the ruby application.

Example: http://www.webhostingtalk.com/showthread.php?t=461915