Fighting Spam on Typo with Logic
I realized that spam bots are stupid, and spammers are generally not the best programmers, so a while back I made a system to fight the intolerable spam plaguing us. I noted today that Robby on Rails was having this same problem, and I figured I might as well share what has worked for me. First, I added this line to my views/articles/_comment_box.rhtml: # <td><p><label for="comment_body">Your message</label></p></td> # <td valign="top" colspan="2"> # <%= text_area "comment", "body" %> # </td> # [...]

