I have a csv file i need to upload and for each row check that a number of columns do not match a certain criteria

Hi All,

I have a csv file i need to upload and for each row check that a number of columns do not match a certain criteria

Is there a way I can do this in ruby?

Kind Regards

Gurdipe

Yes of course. Start by working out how to upload the file. Google rails file upload to get suggestions.

Colin

Yes.

Which bit are you stuck on? Uploading a file? Reading each row? or Checking the certain criteria?

hi i have just started to look at it

the area i think i will struggle on is making sure i can search the array for the criteria i have

gurdipe

hi i have just started to look at it

the area i think i will struggle on is making sure i can search the array for the criteria i have

That should be much easier than uploading the file. I think some basic Ruby tutorials would be in order (Ruby rather then Ruby on Rails as this is a Ruby issue not a Rails one). You cannot develop a Rails app without a good knowledge of Ruby.

Colin