mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
parent
ee30c8d4ef
commit
7f308d4123
5 changed files with 73 additions and 0 deletions
|
@ -57,6 +57,7 @@ class Domain < ApplicationRecord
|
|||
|
||||
has_many :legal_documents, as: :documentable
|
||||
accepts_nested_attributes_for :legal_documents, reject_if: proc { |attrs| attrs[:body].blank? }
|
||||
has_many :registrant_verifications, dependent: :destroy
|
||||
|
||||
after_initialize do
|
||||
self.pending_json = {} if pending_json.blank?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue