forked from OpenNeo/impress
Emi Matchu
118ec6aa1a
This bug caused outfit thumbnails to get out of date, because the outfit's `updated_at` field is used as a cache-busting part of the URL.
6 lines
139 B
Ruby
6 lines
139 B
Ruby
class ItemOutfitRelationship < ApplicationRecord
|
|
belongs_to :item
|
|
belongs_to :outfit, touch: true
|
|
|
|
validates_presence_of :item
|
|
end
|