summaryrefslogtreecommitdiff
path: root/app/models/term_agreement.rb
blob: 8458a231bbddd3321c08b3e2e9bcec015f46b548 (plain)
1
2
3
4
5
6
class TermAgreement < ActiveRecord::Base
  belongs_to :term, class_name: 'ApplicationSetting::Term'
  belongs_to :user

  validates :user, :term, presence: true
end