From e82c606ee8641061475de2fe82c9e1e4ccdf3fab Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Tue, 19 Nov 2024 16:49:20 -0800 Subject: [PATCH] Ah beans, fix a homepage crash from the modeling logic changes Tbh I'm not sure how much this select clause is helping us, but w/e. --- app/controllers/outfits_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/outfits_controller.rb b/app/controllers/outfits_controller.rb index 9e61e929..08e941be 100644 --- a/app/controllers/outfits_controller.rb +++ b/app/controllers/outfits_controller.rb @@ -51,8 +51,8 @@ class OutfitsController < ApplicationController @species = Species.alphabetical newest_items = Item.newest. - select(:id, :name, :updated_at, :thumbnail_url, :rarity_index, - :is_manually_nc, :cached_compatible_body_ids, + select(:id, :name, :created_at, :updated_at, :thumbnail_url, + :rarity_index, :is_manually_nc, :cached_compatible_body_ids, :cached_predicted_fully_modeled) .limit(18) @newest_modeled_items, @newest_unmodeled_items =