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.

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.