diff --git a/app/models/item.rb b/app/models/item.rb index 100f4bc3..289251b5 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -533,6 +533,10 @@ class Item < ApplicationRecord end def appearances + @appearances ||= build_appearances + end + + def build_appearances all_swf_assets = swf_assets.to_a # If there are no assets yet, there are no appearances.