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: e688018a6d9180d294e533acecb3eaddbf9a475c (plain)
1
2
3
4
5
6
7
class NoteDiffFile < ActiveRecord::Base
  include DiffFile

  belongs_to :diff_note, inverse_of: :note_diff_file

  validates :diff_note, presence: true
end