debian-mirror-gitlab/app/models/term_agreement.rb
2018-10-15 14:42:47 +05:30

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