Ah beans, I goofed alt style modeling *again*
Feeling for-real about getting a test suite set up because oh my god
This commit is contained in:
parent
7607c2c015
commit
bf20c9bb31
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue