validators.rb revision 87a46b6e4db760590780a339528decb20e0c2d8b
"must have value of one of the classes: #{options[:in]}"
end
end
end
rescue ::StandardError => e
error = e
end
record.errors.add attribute, 'is not a directory'
end
if error
end
end
end
'all elements must not be blank'
end
end
end
'all elements must be email addresses'
end
end
end
end
"all elements must have those keys: #{options[:keys]}"
end
end
end
fqdn =
if options[:hostname].respond_to?(:call)
else
end
if value.match(/@.*@/)
'email address must have a valid email format.'
end
"email adress must belong to the fully qualified domain name '#{fqdn}'."
end
end
end
record.errors.add attribute, 'must be an executable file'
end
end
end
end