Add statuses to domain form

This commit is contained in:
Martin Lensment 2014-09-22 11:15:29 +03:00
parent 89295f5642
commit 44dce714b8
4 changed files with 32 additions and 2 deletions

View file

@ -19,6 +19,7 @@ class Domain < ActiveRecord::Base
accepts_nested_attributes_for :nameservers, allow_destroy: true
has_many :domain_statuses, dependent: :delete_all
accepts_nested_attributes_for :domain_statuses, allow_destroy: true
has_many :domain_transfers, dependent: :delete_all