I am developing a social web application with RoR. I realized that it was probably a good idea to prevent users from embedding rude or obscene language in comments or posts.
Do you know any solution or plugin that helps me prevent something like this?
The correct term you are looking for is profanity filter (edited). Here are some previous discussions on this topic:
, . , , .
fu-fu, . .
, validates_decency_of, . - , "" .
.
, , "" , , " ".
I recently wrote a gem called NoNo , which is designed to solve this exact problem.
This is probably not the most reliable, but it seems like a trick for me.
Source: https://habr.com/ru/post/1707696/More articles:How can you match words with multiple characters? - c #How to clear the MSIE / WinInet cache programmatically? - cachinghttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1707693/function-for-converting-kilograms-to-pounds-and-ounces&usg=ALkJrhg_WRjwbKOYt3DBt3FQ-NzK8cIZtAOpenGL for OpenGL-ES - glRectf () - iphoneКак моя программа запрашивает tomcat, если включена функция TOMCAT5_SECURITY? - javaWhy are JPEG images created with System.Drawing larger than original bitmaps? - .netHow to hide metaClass property in Groovy class - reflectionEntity Framework: saving a record with FK values and NOT a relationship search - c #Visual Studio 2008 - Settings: Sync button. - No user.config files - visual-studio-2008WebResource.axd? - 500 - internal server error - vb.netAll Articles