@ToddT another way to ensure uploaded CSV files are handled in a more resilient way would be to use the smarter_csv
gem, which normalizes the headers, e.g. applies downcase.to_sym
to each header by default, which makes the processing a little bit more robust against variations in input files.