class ActiveValidation::Check::ValidatesWithMethod
Private Instance Methods
validator_must_be_defined()
click to toggle source
# File lib/active_validation/orm_plugins/active_record_plugin/models/active_validation/check/validates_with_method.rb, line 10 def validator_must_be_defined return if argument.blank? argument.constantize.is_a? ActiveModel::Validator rescue NameError errors.add :argument, "Validator not exist" end