Automatic content moderation using validates_text_content
blog.thingsaaronmade.com
blog.thingsaaronmade.com
Slashdot has some filters like this on their comment system, but I think they are mostly targeted at blocking ascii art spam.
I'll be interested to see what people use the validation for and there shouldn't be any problem expanding the code to handle more edge-cases...
The system achieves the goal of "good comments" by putting up a friction barrier to terrible comments like the ones on YouTube, not impassible barrier to someone who intends on posting a bad comment.
Just don't fall into a trap.
I'm not really buying it. The problem in communities isn't really bad writing or quick comments, it's usually trolls who will circumvent something like this quite easily.
It's been my experience that once they are invested in the process they are more likely to commit to following through and completing the process, even if that means getting rejected several times (I get to see the progression because the systems in production email me every time content is rejected). Those that don't follow through are the one who were just creating throw-away content anyway, which is what I want to discourage.
From what I've seen the trolls do make it through a percentage of the time but they tend to be well-written, entertaining, trolls. Those who spout short comments full of racial slurs don't tend to understand why their comments are getting rejected and they either give up or their comment morphs into something marginally more useful.
In that case the voting and flagging mechanisms built-in to the posting system come into play, the majority of users who are reasonable tend to be able to swarm out the trolls, just like they do here on HN.
The pivotal piece there being that the rejection mechanism tends to discourage people from posting that have no investment in what they're writing, which means the remaining users have a vested interest in keeping the trolls at bay...
If you are interested in seeing examples of content progression from a live system just shoot me an email!
If the content fails the validation this is the default message that is returned:
Correct capitalization and punctuation are required. (ie: All sentences should begin with a capital letter and end with a punctuation mark, etc.)
Most people seem to understand and simply clean up their sentence structure a bit. People that have written their entire comment in block caps tend to simply give up.
I'm actually perfectly happy with SVN, but in order to participate more in the open-source side of the Rails world I'll need to move to Git.