Sha256: 1d28af7e85887d8bc5ca0db111b429437c59fdcb497f3447fa79d833f5a702b8

Contents?: true

Size: 606 Bytes

Versions: 2

Compression:

Stored size: 606 Bytes

Contents

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.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
validates_decency_of-1.5.1 README
validates_decency_of-1.5.0 README