Add zonefile generation procedure

This commit is contained in:
Martin Lensment 2014-11-21 15:30:40 +02:00
parent f5ce88b548
commit ac4b63f390
23 changed files with 370 additions and 255 deletions

View file

@ -16,6 +16,7 @@ class DomainNameValidator < ActiveModel::EachValidator
class << self
def validate_format(value)
return true if value == 'ee'
return true unless value
value = value.mb_chars.downcase.strip