Categories, Subcategories, and Measures are ordered by thier ids

This commit is contained in:
Nelson Jovel 2021-12-15 11:29:52 +01:00
parent eb4c699f60
commit 70e8fafc35
5 changed files with 186 additions and 179 deletions

View file

@ -35,6 +35,13 @@ namespace :one_off do
updated_schools << school.id
end
School.where.not(id: updated_schools).each {|school| puts "School with unchanged DESE id: #{school.name}, id: #{school.id}"}
School.where.not(id: updated_schools).each do |school|
puts "School with unchanged DESE id: #{school.name}, id: #{school.id}"
end
end
task change_overall_performance_measure_id: :environment do
measure_4aii = Measure.where(name: 'Overall Performance')[0]
measure_4aii.update! measure_id: '4A-i'
end
end