This middleware acts as a spam trap. It inserts, into every outputted <form>, a text field that a spambot will really want to fill in, but is actually not used by the app. The field is hidden to humans via CSS, and includes a warning label for screenreading software.
Gemfile gem 'rack-honeypot', '~> 0.1.2'
install gem install rack-honeypot