Sha256: f51154b0141967a50548b9ef784941f929d292ff8c14d762781a936a58e5f27d
Contents?: true
Size: 296 Bytes
Versions: 30
Compression:
Stored size: 296 Bytes
Contents
# frozen_string_literal: true module Renalware log "Adding HD Cannulation Types" do file_path = File.join(File.dirname(__FILE__), "cannulation_types.csv") CSV.foreach(file_path, headers: true) do |row| HD::CannulationType.find_or_create_by!(name: row["name"]) end end end
Version data entries
30 entries across 30 versions & 1 rubygems