krhorst / active_admin_importable

CSV imports for Active Admin resources
MIT License
53 stars 55 forks source link

CSV Headers Don't Convert as Expected #24

Open karlwilbur opened 9 years ago

karlwilbur commented 9 years ago

I am seeing that a column header like "Customer ID" is converted to :customerid not :customer_id as expected. The ability to pass in options to CSV.parse would handle this.

siba2893 commented 3 years ago

Can you add an example of this in the documentation? How to make Customer ID become :customer_id

karlwilbur commented 3 years ago

@siba2893, You can find documentation in my branch, which contains that enhanced functionality: https://github.com/K-and-R/active_admin_importable/tree/parser_options