Attach nameservers directly to domain

This commit is contained in:
Martin Lensment 2014-07-31 11:21:22 +03:00
parent 7a9988236e
commit 4396ec665c
6 changed files with 19 additions and 5 deletions

View file

@ -1,3 +1,4 @@
class Nameserver < ActiveRecord::Base
has_and_belongs_to_many :ns_sets
belongs_to :registrar
has_and_belongs_to_many :domains
end