```ruby
class WelcomeController < ApplicationController
  def index
    @things = Thing.all.order(:name)
    respond_with @things
  end
end
```

Fix n+1 query issue on home page
user
```ruby
class WelcomeController < ApplicationController
  def index
    @things = Thing.all.includes(:check_outs).order(:name)
    respond_with @things
  end
end
```
assistant