I've had a rash of exception notifications come through from one of my Rails apps lately.
A ActionController::MethodNotAllowed occurred in application#index:
Only put and delete requests are allowed.
The culprit appears to be this:
You can click the link to see what Genieo is (tl;dr: widely panned as crapware). It looks to me like one of my users has this crapware on their computer, had it running when they interacted with my app at a URL that should take a PUT, and now Genieo keeps hitting that link with a GET, triggering the error.
Looking for ways to prevent this it seemed that putting a disallow for Genieo in robots.txt would solve it. Here's my robots.txt file:
# To ban all spiders from the entire site uncomment the next two lines:
After redeploying I'm still getting the hits but don't understand why. I've put a request into their support to figure this out, but I'm curious if anyone else here has dealt with a problem like this in a similar fashion.
Cheers,
Chris