mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-03 22:21:53 +08:00
5 lines
151 B
Ruby
5 lines
151 B
Ruby
class ResultComment < Comment
|
|
belongs_to :result, foreign_key: :associated_id, inverse_of: :result_comments
|
|
|
|
validates :result, presence: true
|
|
end
|