3

I am developing a social web application with RoR. I realized that it's probably a good idea to prevent users from inserting rude or profane language into comments or posts.

Do you know any solution or plug-in that help me prevent something like this?

cletus
  • 616,129
  • 168
  • 910
  • 942
Teerasej
  • 1,486
  • 4
  • 21
  • 31

1 Answers1

4

The correct term you're looking for is a profanity filter (edited). Here are some previous discussions on this topic:

Community
  • 1
  • 1
ryeguy
  • 65,519
  • 58
  • 198
  • 260
  • TL;DR - It's really hard to make a fool-proof profanity filter. People can always circumvent them by being creative. There are services that specialize in this. Personally, I went with WebPurify and I've been pretty happy: http://www.webpurify.com/ – Marshall Æon Oct 09 '15 at 08:03