```ruby
class CommentSerializer < ActiveModel::Serializer
  attributes :id, :content
end
```

Add resource_id and user to Comments Serializer.:
user
```ruby
class CommentSerializer < ActiveModel::Serializer
  attributes :id, :content, :resource_id
  belongs_to :user, serializer: CommentUserSerializer
end
```
assistant