Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 547 Bytes
##########################################
# #
# Validations for profane language #
# Michael J. Edgar #
# OurGreen, Inc. #
# 1/17/2009 #
# #
##########################################
require 'profanalyzer'
require_dependency File.join(File.dirname(__FILE__), 'lib/active_record/validations/validates_not_profane')
ActiveRecord::Base.send :include, ActiveRecord::Validations::NotProfane
Jump to Line
Something went wrong with that request. Please try again.