add validation to comment.rb