mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Categories, Subcategories, and Measures are ordered by thier ids
This commit is contained in:
parent
eb4c699f60
commit
70e8fafc35
5 changed files with 186 additions and 179 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue