From 8633c7bbaf822c315f07d59b744689bbfb7ae6cd Mon Sep 17 00:00:00 2001 From: Nicolae Claudius Date: Mon, 2 Jul 2012 21:27:41 +0300 Subject: [PATCH] close #114 Custom NS for a subdomain allow any NS --- app/models/ns.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/ns.rb b/app/models/ns.rb index 7b53d72..a2aaead 100644 --- a/app/models/ns.rb +++ b/app/models/ns.rb @@ -21,7 +21,7 @@ # class NS < Record validates :name, :hostname => {:allow_underscore => true} - validates :content, :presence => true, :hostname => true, :inclusion => {:in => Settings.ns} + validates :content, :presence => true, :hostname => true #, :inclusion => {:in => Settings.ns} def to_label; "#{content}" end end