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.
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.