Skip to content

Instantly share code, notes, and snippets.

@alisterscott
Created June 15, 2012 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alisterscott/2936163 to your computer and use it in GitHub Desktop.
Save alisterscott/2936163 to your computer and use it in GitHub Desktop.
An example of how to use UUIDs in ruby
require 'securerandom'
puts SecureRandom.uuid
# ffe71bd2-2650-4135-b366-f8da08b4b708
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment