bradpauly.com

Inspiration in Waves

September 04, 2008

It’s late and I’m tired and I thought I was done when I uploaded the formatting changes. But then I finished that and was thinking about comment spam and decided to do a quick test. I think it’s going to work.

Hidden empty text field

We’ll see how it works. I read a number of posts about this technique and some said to use a text field and visually hide it while others said a hidden field would do the trick. The idea is that a spam bot will enter text into every field so when there is text in that field, it is likely spam. I added an occupation attribute to the Comment model and it is invalid unless it is blank. My fingers are crossed. I’m hoping that does the trick.

Comments Add a Comment

Brad Pauly - September 04, 2008
I'm testing my new comment spam blocker thingy. So hopefully us humans can still comment and all you non-humans that like to spam cannot.