Browse Source

oops

pull/1/head
Claudius Nicolae 12 years ago
parent
commit
e2acfe8d48
  1. 6
      app/models/cname.rb

6
app/models/cname.rb

@ -8,10 +8,8 @@
# Obtained from http://www.zytrax.com/books/dns/ch8/cname.html # Obtained from http://www.zytrax.com/books/dns/ch8/cname.html
# #
class CNAME < Record class CNAME < Record
validates :name, validates :name, :hostname => {:allow_underscore => true, :allow_wildcard_hostname => true}
:length => { :maximum => 1024 }, validates :content, :presence => true, :length => { :maximum => 1024 }, :hostname2 => true
:hostname2 => { :allow_underscore => true, :allow_wildcard_hostname => true }
validates :content, :presence => true, :hostname => true
end end

Loading…
Cancel
Save