mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Revert "297 email address validation truemail"
This commit is contained in:
parent
1094c41fa3
commit
6900ce1127
33 changed files with 158 additions and 964 deletions
|
@ -88,7 +88,7 @@ class Nameserver < ApplicationRecord
|
|||
end
|
||||
|
||||
def normalize_attributes
|
||||
self.hostname = hostname.try(:strip).try(:downcase).gsub(/\.$/, '')
|
||||
self.hostname = hostname.try(:strip).try(:downcase)
|
||||
self.ipv4 = Array(ipv4).reject(&:blank?).map(&:strip)
|
||||
self.ipv6 = Array(ipv6).reject(&:blank?).map(&:strip).map(&:upcase)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue