From 5f50c1fe111bca83891934295abe79db5550809d Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Fri, 2 Aug 2024 18:45:28 +0200 Subject: [PATCH] Fix seedfile --- db/seeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/seeds.rb b/db/seeds.rb index eb08d7a..194fa88 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,4 +1,4 @@ -NUMBER_OF_GUESTS = ENV['SEED_GUEST_COUNT'].presence.to_i || 50 +NUMBER_OF_GUESTS = (ENV['SEED_GUEST_COUNT'] || 50).to_i TablesArrangement.delete_all Expense.delete_all