From 5d8e18284fa2b5ea13a110e6eb4d904c98efa3eb Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Wed, 8 May 2024 10:51:38 +0200 Subject: [PATCH] Update lib/school_creator.rb --- lib/school_creator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/school_creator.rb b/lib/school_creator.rb index 1629c8ff..8561eaf8 100644 --- a/lib/school_creator.rb +++ b/lib/school_creator.rb @@ -8,7 +8,7 @@ def self.create_schools(number_of_schools, international: false) school_ids = [] number_of_schools.times do - country = international ? available_countries.sample : ISO3166::Country["US"] + country = international ? available_countries.sample : ISO3166::Country["US"] state = country.states.keys.sample school = School.create!( name: Faker::Educator.university,