The function:
HeaderConverters = {
:downcase => lambda { |h| h.downcase },
:symbol => lambda { |h|
h.downcase.tr(" ", "").delete("^a-z0-9").to_sym
}
}
raises a nomethod exception when the header row is empty using :header_converter => :symbol
I am not sure of the correct solution but I am doing something like
h.downcase.tr(" ", "").delete("^a-z0-9").to_sym rescue :empty