if you just want to display category names separated by commas, it's easier to do:
```ruby
<%= attendee.categories.join(", ") %>
```