Thanks to you both for your help
-- 
Posted via http://www.ruby-forum.com/.