Sha256: 4767824cf0bc77cc76b0fca60b945ac262b478b3f8e3cb2d35cfc7ddea25c102
Contents?: true
Size: 269 Bytes
Versions: 6
Compression:
Stored size: 269 Bytes
Contents
module Renalware log "Adding HD Cannulation Types" do file_path = File.join(File.dirname(__FILE__), "hd_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
6 entries across 6 versions & 1 rubygems