From: Bob West Date: 2010-11-05T02:20:03+09:00 Subject: beginner question - searching csv file by column and returning values if true I'm a complete noob to ruby and am hoping someone can help me with this. I have a csv file with one field called geo_enabled (the 6th column). The values are true or false. If the value is true, I'd like to return the values contained in the field called Geo (7th column). If it is false, I'd like to return the values in the "Location" field (8th column). I've got a rough idea how this should go. But it isn't close to being working code. I'd really appreciate all help anyone can provide. -bob -- Posted via http://www.ruby-forum.com/.