Module: ValidationMirror

Defined in:
lib/validation-mirror.rb

Defined Under Namespace

Modules: ClassMethods Classes: Validation

Constant Summary collapse

StandardValidations =
ActiveRecord::Validations::ClassMethods.instance_methods.grep(/_of$/)

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



9
10
11
# File 'lib/validation-mirror.rb', line 9

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