Sha256: 22981ab6168bb1690ada758af004babd42bf9b62cea211a9b7e71b21e0255ec1
Contents?: true
Size: 300 Bytes
Versions: 6
Compression:
Stored size: 300 Bytes
Contents
module Renalware log "Adding Pathology Labs" do file_path = File.join(File.dirname(__FILE__), "pathology_labs.csv") Pathology::Lab.transaction do CSV.foreach(file_path, headers: true) do |row| Pathology::Lab.find_or_create_by!(name: row["name"]) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems