Removes bad words from your code
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
README.rdoc
Rakefile
init.rb

README.rdoc

###Intstallation gem install acts_as_censored

###Usage

class Comment < ActiveRecord::Base

acts_as_censored :body # removes naughty words from body

end

# custom censor value

class Comment < ActiveRecord::Base

acts_as_censored :body, :with => "[Shame on you]"

end