Ruby on Rails: UUID as your ActiveRecord primary key
Sometimes,usingthegoodold‘autoincrement’fromyourdatabasejustisn’tgoodenough.IfyoureallyrequirethatallyourobjectshaveuniqueID,evenacrosssystemsanddifferentdatabasesthere’sonlyonewaygo:UUIDorUniversally