This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 8d783bd178a98eac64ce907d893797d3bfa4a5a4
tree ee09cb3346198613948bc24f1970abbf8ccab010
parent 0969cc5b132687cff3a45d3f114a2cf9810ff16d
tree ee09cb3346198613948bc24f1970abbf8ccab010
parent 0969cc5b132687cff3a45d3f114a2cf9810ff16d
honeypot /
| name | age | message | |
|---|---|---|---|
| |
README.markdown | Mon Oct 06 08:50:50 -0700 2008 | |
| |
init.rb | Mon Oct 06 09:24:59 -0700 2008 | |
| |
lib/ | Fri Nov 07 00:21:01 -0800 2008 |
README.markdown
What it is
A simple plugin to provide honeypots and the necessary validations. It add fields to your forms, empty and filled, then checks if there values are unchanged.
Install
script/plugin install git://github.com/grosser/honeypot.git
Usage
Controller:
before_filter :check_honeypots, :only => [:create]
OR - if the default render new + flash[:error] is not what you want
def create
render :action=>'error' and return unless honeypot_untouched?
...
end
Inside form:
=honeypot
Other solutions
If you want more sophisticated protection, (on cost of maintainability and usability) try the negative_captcha plugin







