Files
PMS/app/models/comment.rb
2026-01-29 12:00:13 +06:30

7 lines
116 B
Ruby

class Comment < ApplicationRecord
belongs_to :user
belongs_to :task
validates :content, presence: true
end