mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Logging contacts and addresses,view undeleted ones
This commit is contained in:
parent
bb3d2cc88a
commit
d94eb22fc6
14 changed files with 263 additions and 3 deletions
|
@ -10,8 +10,7 @@ class Address < ActiveRecord::Base
|
|||
belongs_to :contact
|
||||
belongs_to :country
|
||||
|
||||
# TODO: validate inclusion of :type in LONG_TYPES or smth similar
|
||||
# validates_inclusion_of :type, in: TYPES
|
||||
has_paper_trail class_name: 'AddressVersion'
|
||||
|
||||
class << self
|
||||
# def validate_postal_info_types(parsed_frame)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue