diff --git a/db/dev_seeds.rb b/db/dev_seeds.rb index f7b2f2908..6cedb2ff2 100644 --- a/db/dev_seeds.rb +++ b/db/dev_seeds.rb @@ -416,9 +416,9 @@ tags = Faker::Lorem.words(10) end puts " ✅" -print "Selecting Investments" -Budget.balloting.reorder("RANDOM()").limit(3).each do |budget| - budget.investments.feasible.reorder("RANDOM()").limit(10).update_all(selected: true) +print "Balloting Investments" +Budget.balloting.last.investments.each do |investment| + investment.update(selected: true, feasibility: "feasible") end puts " ✅"