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

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

Fix n+1 query issue on home page
Fix n+1 query issue on home page
