mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
6 lines
140 B
Ruby
6 lines
140 B
Ruby
class Nameserver < ActiveRecord::Base
|
|
belongs_to :registrar
|
|
has_and_belongs_to_many :domains
|
|
|
|
validates :hostname, hostname: true
|
|
end
|