Home Rails_Admin_Import: only new IDs are created but no data imported
Reply: 0

Rails_Admin_Import: only new IDs are created but no data imported

Pierre
1#
Pierre Published in 2018-01-05 16:20:53Z

I can import a CSV file, it creates so many new rows IDs as there are lines in the CSV, but all values of all columns fields are empty, NULL if I look at in Mysql. I tried to have the same field name, for example "Last_Name" field has been changed into "Last name" by rails_admin https://github.com/sferik/rails_admin.(Grr why changing the field name). I tried to give an encoding on export and on import. I tried with and without id. Once I clicked on SAVE button, no error message, Rails_Admin_Import gives me the exact number of rows contained in the csv file, but no data are written in MySql. Only new rows IDs to look at. May someone helps me?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.328315 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO