Sporkmonger

purveyor of fabulously ambiguous eating utensils

UUID As A Primary Key

Posted by sporkmonger
Written October 28th, 2005

Paul Dix wrote up a quick how-to on using UUIDTools and ActiveRecord for generating UUIDs for use as a primary key on your tables. Based on a couple of comments over on Robi Sen’s blog. Thanks for doing this Paul—judging by the keywords people that find their way to this blog are using for their google searches, there’s a surprising number of people trying to do this.