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

note_diff_file.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 27aef7adc48ea33dc760fb309fc346e4869029e0 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class NoteDiffFile < ActiveRecord::Base
  include DiffFile

  belongs_to :diff_note, inverse_of: :note_diff_file

  validates :diff_note, presence: true
end