8 lines
157 B
Ruby
8 lines
157 B
Ruby
|
class NoteDiffFile < ActiveRecord::Base
|
||
|
include DiffFile
|
||
|
|
||
|
belongs_to :diff_note, inverse_of: :note_diff_file
|
||
|
|
||
|
validates :diff_note, presence: true
|
||
|
end
|