Sha256: 66bdbdef248bff9575775df3d1fe8bda19db11f5ddc85e5f00fceeab3d1914aa
Contents?: true
Size: 285 Bytes
Versions: 30
Compression:
Stored size: 285 Bytes
Contents
# frozen_string_literal: true module Renalware log "Adding Religions" do file_path = File.join(File.dirname(__FILE__), "patients_religions.csv") CSV.foreach(file_path, headers: true) do |row| Patients::Religion.find_or_create_by!(name: row["name"]) end end end
Version data entries
30 entries across 30 versions & 1 rubygems