You can probably find a way to limit this to one query. If you can't actually figure out a query that uses all variables you can created the query string based on those conditionals and then query the database. 

```ruby
query_string = "select * from breeds where role_id = #{role_id}
query_string += "and grooming = '#{grooming}'" if grooming == yes
# etc...
```

It'd be even better if on "no" responses you set the variable = `nil` since you don't care about them if they are no responses. Then in your if's you'd just have `if grooming` since nil is falsey.