mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-09 17:09:45 +08:00
5 lines
121 B
Ruby
5 lines
121 B
Ruby
class ResultComment < Comment
|
|
belongs_to :result, foreign_key: :associated_id
|
|
|
|
validates :result, presence: true
|
|
end
|