From: Junkone Date: 2007-06-06T22:30:18+09:00 Subject: not sure what is wrong here. i am not sure what is wrong here tablearr is of type FASTERCSV::TABLE eachrow is of type FASTERCSV::ROW as per the fastercsv doc, the table.values_at returns a array. the array has method .include? def checkduplicates(eachrow,tablearr,indx,criteria) eachrow.each{|name,valu| rowdata=tablearr.values_at(indx+criteria) if(rowdata.include?valu)<<<<<<<<<<<<< ERROR HERE. puts "match" end } c:/ruby/lib/ruby/gems/1.8/gems/fastercsv-1.2.0/lib/faster_csv.rb: 345:in `==': undefined method `row' for "03":String (NoMethodError) from scan.rb:7:in `include?'