RubyGems.org

In the never ending battle with the form bots, here's my attempt to mislead them. protect_via_honeypots creates some hidden fields. As normal users don't mess with hidden fields we can assume that when those fields are filled with data: a bot filled it. So when that happens, protect_via_honeypots throws an error (as the same way protect_from_forgery does)

installgem install protect_via_honeypots
Authors

Roy van der Meij

3,682 total downloads 983 for this version
Owners

5607d322cef6a58ad8c09c35704fec01

Gemfile
gem "protect_via_honeypots", "~> 0.2.0"
Versions
  1. 0.2.0 November 23, 2010
  2. 0.1.3 October 27, 2010
  3. 0.1.2 October 27, 2010
  4. 0.1.1 October 27, 2010
Development Dependencies
  1. thoughtbot-shoulda >= 0