mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 09:45:11 +02:00
Add messages and bump epp-xml
This commit is contained in:
parent
be319509ca
commit
ef632e0ce1
11 changed files with 138 additions and 43 deletions
|
@ -4,6 +4,7 @@ class Registrar < ActiveRecord::Base
|
|||
has_many :contacts, dependent: :restrict_with_error
|
||||
has_many :epp_users, dependent: :restrict_with_error
|
||||
has_many :users, dependent: :restrict_with_error
|
||||
has_many :messages
|
||||
|
||||
validates :name, :reg_no, :address, :country, presence: true
|
||||
validates :name, :reg_no, uniqueness: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue