mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 10:06:53 +08:00
5 lines
124 B
Ruby
5 lines
124 B
Ruby
class ProjectComment < Comment
|
|
belongs_to :project, foreign_key: :associated_id
|
|
|
|
validates :project, presence: true
|
|
end
|