David Young

Joined

220 Experience
2 Lessons Completed
0 Questions Solved

Activity

Posted in SEEKING FREELANCER - Importing CSV file

I've compared it to code that I have to do the same thing and it's identical so can't see anything else unfortunately. Only other thing is to check your CSV file. Open it in a text editor and try to use only 2 or 3 rows.
I had problems with CSV importing myself but it turned out to be the CSV file rather than the code.

Posted in SEEKING FREELANCER - Importing CSV file

Hi Mel, in your post on StackOverflow you have the route
collection {post :import }#do
# post :create
end

have you tried changing that to
collection {post :import }
The end at the end might have been causing problems.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.