From f546cb902ad17f65a03ea0eae1f411c4f4ab6318 Mon Sep 17 00:00:00 2001 From: jazzari Date: Fri, 9 Jun 2023 12:13:43 -0300 Subject: [PATCH] fix: no crea los sitios #1278 --- db/seeds.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/db/seeds.rb b/db/seeds.rb index 214bbcb0..0ab8be61 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -16,12 +16,3 @@ licencias.each do |l| licencia.update l end -unless Rails.env.test? - YAML.safe_load(File.read('db/seeds/sites.yml')).each do |site| - site = Site.find_or_create_by name: site['name'] - - site.update licencia: Licencia.first, design: Design.first, - title: site.name, description: 'x' * 50, - deploys: site.deploys.empty? ? [DeployLocal.new] : site.deploys - end -end