If you're going to pull out the surveys immediately, tell AR when you retrieve the response sets. It will be more efficient:

```
@response_sets = @instruments.response_sets.includes(:survey) if @response_set
```

Also, note whitespace difference between these two lines.