I want to create new unique id in ruby.I have used the following
coding.But I don''t know whether it works perfectly or not.

 t = Time.new
 p "%10.5f" % t.to_f

does it give unique value always.I you know some other way ,please say
to create unique id .
-- 
Posted via http://www.ruby-forum.com/.