From: Charles Calvert Date: 2010-11-11T06:30:22+09:00 Subject: Re: beginner question - searching csv file by column and returning values if true On Thu, 4 Nov 2010 14:18:25 -0500, Jeremy Bopp wrote in <4CD306FE.4010505@bopp.net>: >On 11/4/2010 12:20 PM, Bob West wrote: >> 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). [snip] >require 'csv' Note: if you're using 1.8, I'd suggest using the FasterCSV gem instead of the standard CSV class. If you're using 1.9, FasterCSV is already built in as CSV. -- Charles Calvert | Software Design/Development Celtic Wolf, Inc. | Project Management http://www.celticwolf.com/ | Technical Writing (703) 580-0210 | Research