Welcome to mirror list, hosted at ThFree Co, Russian Federation.

term_agreement.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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