Sha256: 133c20904973e7e1fdc3fd1d57d8708f933509e021b303618548cada6ff15146
Contents?: true
Size: 306 Bytes
Versions: 30
Compression:
Stored size: 306 Bytes
Contents
# frozen_string_literal: true module Renalware log "Adding PD Training Sites" do file_path = File.join(File.dirname(__FILE__), "training_sites.csv") CSV.foreach(file_path, headers: true) do |row| PD::TrainingSite.find_or_create_by!(code: row["code"], name: row["name"]) end end end
Version data entries
30 entries across 30 versions & 1 rubygems