6 lines
165 B
Ruby
6 lines
165 B
Ruby
class TermAgreement < ActiveRecord::Base
|
|
belongs_to :term, class_name: 'ApplicationSetting::Term'
|
|
belongs_to :user
|
|
|
|
validates :user, :term, presence: true
|
|
end
|