session :off, :if => lambda {|req| req.user_agent = ~/(Google|Slurp)/i}
# Google for Google and Slurp for Yahoo!.
# Explore your log for more robots
* Cited from The Rails Way
Trends and analysis about emerging technology. Tips and tutorial about cutting-edge development.
1 comment:
There's a Ruby GEM that helps figuring out which UA strings belongs to a robot
http://github.com/jaap3/urobot/tree/master
Post a Comment