13 lines
228 B
Ruby
13 lines
228 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ContactList < ApplicationRecord
|
|
################
|
|
# Associations #
|
|
################
|
|
|
|
has_one :account
|
|
|
|
has_one :person
|
|
|
|
has_many :contacts, dependent: :restrict_with_exception
|
|
end
|