you should make this a model method

```ruby
current_user.review_score_for_logo(@logo)
```

Also this will execute three queries - you should find the sum only once.