scinote-web/app/models/project_comment.rb
2017-03-08 13:18:20 +01:00

5 lines
124 B
Ruby

class ProjectComment < Comment
belongs_to :project, foreign_key: :associated_id
validates :project, presence: true
end