-
Notifications
You must be signed in to change notification settings - Fork 0
nicolasblanco/novelys_antispam
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
*** Novelys Antispam *** This is a very simple antispam technique that uses honeypots to try detect bad bots. In your main stylesheet add : .n_a_s { position: absolute; left: -2000px; } Just add in your form : <%= novelys_antispam_honeypots %> Before creating/saving your model, add this in your controller : if NovelysAntispam.valid?(params) # ... end This is really just the beginning, feel free to enhance ! Copyright (c) 2009 Novelys.
About
Very simple unobtrusive antispam solution
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published