I\'ve Rails apps, that record an IP-address from every request to specific URL, but in my IP database i\'ve found facebook blok IP like 66.220.15.* and Google IP (i suggest
I think you can use browser gem for check bots.
if browser.bot? # code here end
https://github.com/fnando/browser