Module: ActiveRecord::Validations::NotProfane

Defined in:
lib/active_record/validations/validates_not_profane.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary (collapse)

Class Method Details

+ (Object) included(base)

Add these methods to the ActiveRecord::Base class



16
17
18
# File 'lib/active_record/validations/validates_not_profane.rb', line 16

def self.included(base)
  base.extend ClassMethods
end