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.
License
seamusabshere/validates_decency_of
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
About
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.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published