This returns array of 1 or 0 ratings, maybe try: 
```
Rating.find_by(show_id: series_id, user_id: current_user.id)
```
Or if the rating doesnt exist:
```
Rating.find_or_create_by(show_id: series_id, user_id: current_user.id)
```