Sha256: d5723cb9ef2f736bd17475c05db112ae7afc9ca85a9dd33dab05ad114ec66c54
Contents?: true
Size: 294 Bytes
Versions: 30
Compression:
Stored size: 294 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
30 entries across 30 versions & 1 rubygems