Rails plugin that uses George Carlin's list of seven dirty words (aka swear words, aka cuss words, aka bad words) to check for "decency" on ActiveRecord model attributes.
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
tasks
test
.gitignore
MIT-LICENSE
README
Rakefile
VERSION

README

ValidatesDecencyOf
=================

Uses George Carlin's list of "seven dirty words" to "check for decency" (ahem)
http://en.wikipedia.org/wiki/Seven_dirty_words

It gives you a new ActiveRecord validation, validates_decency_of.

Installation
============

You should be able to run this as a plugin or as a gem.

For environment.rb:

config.gem 'validates_decency_of'

Then be sure to:

rake gems:install

Example
=======

Using it in ActiveRecord...

class Message < ActiveRecord::Base
  validates_decency_of :title, :description
end

Copyright (c) 2010 Seamus Abshere, released under the MIT license.