From a656441fcd6601faa17cac7ba1e71d574be2a8b7 Mon Sep 17 00:00:00 2001 From: rebuilt Date: Wed, 5 Apr 2023 13:13:59 -0700 Subject: [PATCH] Fix oneoff script for ECP so it doesn't skip non-lowell schools --- lib/tasks/one_off.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/one_off.rake b/lib/tasks/one_off.rake index 6d131ad2..46e3ec89 100644 --- a/lib/tasks/one_off.rake +++ b/lib/tasks/one_off.rake @@ -178,7 +178,7 @@ namespace :one_off do puts "=====================> Completed loading #{SurveyItemResponse.count - survey_item_response_count} survey responses. #{SurveyItemResponse.count} total responses in the database" Sftp::Directory.open(path:) do |file| - StudentLoader.from_file(file:, rules: [Rule::SkipNonLowellSchools]) + StudentLoader.from_file(file:, rules: []) end puts "=====================> Completed loading #{Student.count - student_count} students. #{Student.count} total students"