Fix oneoff script for ECP so it doesn't skip non-lowell schools

pull/1/head
rebuilt 3 years ago
parent 0283f1d0d9
commit a656441fcd

@ -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"

Loading…
Cancel
Save