News for hackers. Stuff that matters.
Re:Rails 4 UUID primary keys with PostgreSQL by bdon on Saturday April 27, 2013 @01:32PM (#5618402)
It's also useful if you don't want your URLs to expose how many of a certain thing you have, whether it be users, posts, payments etc. A lot of sites let you derive how much activity they have based on how fast their numeric IDs increment. You could use a separate token alongside the pkey to do the same but this feature just makes it simpler.
Re:Rails 4 UUID primary keys with PostgreSQL by __Joker on Saturday April 27, 2013 @02:13PM (#5618534)
Re:Rails 4 UUID primary keys with PostgreSQL by labria on Saturday April 27, 2013 @01:37PM (#5618424)
Only downside: this makes the URLs very long sometimes.