Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
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.