mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
parent
ab9c5c45de
commit
450d208e43
12 changed files with 2 additions and 25 deletions
|
@ -1,7 +1,5 @@
|
|||
module DNS
|
||||
class Zone < ActiveRecord::Base
|
||||
self.auto_html5_validation = false
|
||||
|
||||
validates :origin, :ttl, :refresh, :retry, :expire, :minimum_ttl, :email, :master_nameserver, presence: true
|
||||
validates :ttl, :refresh, :retry, :expire, :minimum_ttl, numericality: { only_integer: true }
|
||||
validates :origin, uniqueness: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue