From: Dave Bass Date: 2008-06-17T22:47:43+09:00 Subject: Re: Uniqid(php) for ruby: Tannev Vitaliy wrote: > $uniq_id = md5(uniqid(time())); Coming from Perl, I use a combination of the system time and the process ID as the basis for a unique ID. I don't know if Ruby has anything ready-made for this, but it would be nice if it did. MD5 and other hashing algorithms are susceptible to collisions, so you won't necessarily get a unique ID even if the original data is unique. -- Posted via http://www.ruby-forum.com/.