From: Chris Hulan Date: 2006-07-08T03:45:15+09:00 Subject: Re: newbie Q why doesn't this NEXT work dave rose wrote: ... > g=ParseDate::parsedate(row[3])[0..2] ... > TypeError: can't dup NilClass ... Looks like row[3] is nil. I always like to display the actual objects/values when developing/debugging to ensure that the state/data matches my expectaions... Cheers -- Posted via http://www.ruby-forum.com/.