From 9fdbb91efb8c188dc53dd4acfe3f2c9ab7a6c831 Mon Sep 17 00:00:00 2001 From: Ross Chapman Date: Thu, 23 May 2024 05:04:29 -0700 Subject: [PATCH] Update seeds --- db/seeds.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/seeds.rb b/db/seeds.rb index 4832bcd35..79ee5e3c5 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -33,10 +33,10 @@ hero_image: FactoryBot.create(:media) ) marketplace = FactoryBot.create(:marketplace, :ready_for_shopping, product_quantity: 16, room: marketplace_section) -magic_group = FactoryBot.create(:marketplace_tag, :group, bazaar: marketplace.bazaar, label: "Magic") +magic_menu_group = FactoryBot.create(:marketplace_tag, :group, marketplace: marketplace, label: "Magic") fire_tag = FactoryBot.create(:marketplace_tag, bazaar: marketplace.bazaar, label: "🔥") marketplace.products.sample(8).each do |product| - product.tags << magic_group + product.tags << magic_menu_group end marketplace.products.sample(8).each do |product| product.tags << fire_tag