From bf20c9bb31d3860d8335ef011805bb4447842724 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Fri, 18 Oct 2024 19:01:26 -0700 Subject: [PATCH] Ah beans, I goofed alt style modeling *again* Feeling for-real about getting a test suite set up because oh my god --- app/models/alt_style.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/alt_style.rb b/app/models/alt_style.rb index edb5e64c..fd52912e 100644 --- a/app/models/alt_style.rb +++ b/app/models/alt_style.rb @@ -90,7 +90,7 @@ class AltStyle < ApplicationRecord ) DEFAULT_THUMBNAIL_URL = "https://images.neopets.com/items/mall_bg_circle.gif" def infer_thumbnail_url - if has_real_series_name? + if real_series_name? self.thumbnail_url = THUMBNAIL_URL_TEMPLATE.expand( series: series_name.gsub(/\s+/, '').downcase, color: color.name.gsub(/\s+/, '').downcase,