You are correct.
I need to check all my DB column titles. I updated the column title and
the next error was another DB column.
In your code...
:header_converters => lambda { |h| h.tr(" ",
"_").delete("^a-zA-Z0-9_")},
what is happening here?
h.tr(" ", "_").delete("^a-zA-Z0-9_#")
it looks like you're checking a table row for an instance of " " and
replacing with "_"
but I'm unsure of the ".delete("^a-zA-Z0-9_")"
John
--
Posted via http://www.ruby-forum.com/.