c21c839dca
* move source id from contacts * Fix contactInbox model name * rubocop fix * Fix rspec
8 lines
203 B
Ruby
8 lines
203 B
Ruby
class ContactInbox < ApplicationRecord
|
|
validates :inbox_id, presence: true
|
|
validates :contact_id, presence: true
|
|
validates :source_id, presence: true
|
|
|
|
belongs_to :contact
|
|
belongs_to :inbox
|
|
end
|