From 711aca0008ea08d861f418ddb5393a94c244af2b Mon Sep 17 00:00:00 2001 From: Matt Dunn-Rankin Date: Sun, 25 Feb 2018 14:45:10 -0800 Subject: [PATCH] hardcode more baby IDs :P Interestingly, these items *are* correctly detecting their special color on the homepage for model progress. So, we *do* have the ability to detect this. But I don't have good item data locally, so it would be hard to test this, so I'm just gonna go with the cheap solution again, sorry XP --- app/models/item.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/item.rb b/app/models/item.rb index af449ff8..fb0ffa62 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -182,7 +182,7 @@ class Item < ActiveRecord::Base # HACK: this should probably be a flag on the record instead of # being hardcoded :P - if [71893, 76192, 76202].include?(id) + if [71893, 76192, 76202, 77367, 77368, 77369, 77370].include?(id) return Color.find_by_name('baby') end