Nameserver hostname replacing

This commit is contained in:
Martin Lensment 2015-04-28 18:36:59 +03:00
parent 23098add74
commit 1f2ba55acb
7 changed files with 135 additions and 0 deletions

View file

@ -7,6 +7,7 @@ class Registrar < ActiveRecord::Base
has_many :messages
has_many :invoices, foreign_key: 'buyer_id'
has_many :accounts
has_many :nameservers, through: :domains
belongs_to :country_deprecated, foreign_key: :country_id