From 69083685061ba67259ad4b2724c2ced4c1c901da Mon Sep 17 00:00:00 2001 From: zmagod Date: Tue, 27 Feb 2018 10:43:57 +0100 Subject: [PATCH] refactor --- app/utilities/first_time_data_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utilities/first_time_data_generator.rb b/app/utilities/first_time_data_generator.rb index 7cde9c7e2..ebbe40f97 100644 --- a/app/utilities/first_time_data_generator.rb +++ b/app/utilities/first_time_data_generator.rb @@ -79,7 +79,7 @@ module FirstTimeDataGenerator # and groups # (0...3).map{65.+(rand(26)).chr}.join << '/' repository_sample_name = (0...3).map { 65.+(rand(26)).chr }.join << '/' - (1..5).each_with_index do |index| + (1..5).each do |index| repository_row = RepositoryRow.create( repository: repository, created_by: user,