mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-08 23:08:14 -07:00
chore: make sure CSV and File objects are properly namespaced
This commit is contained in:
parent
a99ed183a1
commit
ed1310f93c
34 changed files with 327 additions and 27 deletions
|
|
@ -1,3 +1,3 @@
|
|||
module Dashboard
|
||||
VERSION = "0.1.12"
|
||||
VERSION = "0.1.13"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace :dashboard do
|
|||
qualtrics_schools = {}
|
||||
|
||||
csv_file = Rails.root.join("data", "master_list_of_schools_and_districts.csv")
|
||||
CSV.parse(File.read(csv_file), headers: true) do |row|
|
||||
::CSV.parse(::File.read(csv_file), headers: true) do |row|
|
||||
district_id = row["District Code"].to_i
|
||||
school_id = row["School Code"].to_i
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue