Sha256: 151b61cfe4a041c545a332ce54152fb33bec6bdf9f1cf4e4a10b31341d0628c2
Contents?: true
Size: 295 Bytes
Versions: 112
Compression:
Stored size: 295 Bytes
Contents
# frozen_string_literal: true module Renalware log "Adding HD Dialysers" do file_path = File.join(File.dirname(__FILE__), "dialysers.csv") CSV.foreach(file_path, headers: true) do |row| HD::Dialyser.find_or_create_by!(group: row["group"], name: row["name"]) end end end
Version data entries
112 entries across 112 versions & 1 rubygems