1. Remove if condition.
2. Use exists. `COUNT`

```
def attending?(event)
  current_user.attendances.exists?(event: event)
end
```