Module: CouchPotato::Validation

Defined in:
lib/couch_potato/validation.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) included(base)

:nodoc:



6
7
8
9
# File 'lib/couch_potato/validation.rb', line 6

def self.included(base) #:nodoc:
  base.send :include, ::ActiveModel::Validations
  base.send :include, ::ActiveModel::Validations::Callbacks
end