From: jazzez ravi Date: 2009-03-05T19:10:43+09:00 Subject: Re: noob question on writing a script in ruby Hi Tom, I don't have script.But i will give simple idea to you. 1. DB contains --> value1,value2,value3 ... 2. collect all the fields as an array @db=["value1","value2","value3"] 3. new record set -> "value2","value4" 4. if @db.include?("value2")== false then SAVE DB else NEXT end I feel it was not a good code. Anyway let us see this thread for new ideas.. Thanks, P.Raveendran http://raveendran.wordpress.com -- Posted via http://www.ruby-forum.com/.