Comic Curse
Posted March 17th, 2008
A Ruby on Rails plugin that adds the ‘comic_curse’ method to any String object.
The method takes a single optional string parameter and replaces any curse words in the String object with the parameter or ‘%$#@!’ which is the default.
The curse words are kept in the RAILS_ROOT/config/curse_words.yml file and are separated by language.
In the RAILS_ROOT/config/environments.rb file you can set which languages to use (:all is the default)
You can install by entering ’script/plugin install http://svn.erbmicha.com/comic_curse/trunk’ in your RAILS_ROOT directory.
I’ll be creating a github repository today for easier sharing of the comic_curse.yml library. GitHub repository is at: http://github.com/erbmicha/comic-curse
Enjoy!!!






