Created
October 6, 2015 17:09
-
-
Save cameronbarker/417a045449ba2525514f to your computer and use it in GitHub Desktop.
Bitly like unique id
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unique_id = (('a'..'z').to_a + ('A'..'Z').to_a + (0..9).to_a).sample(7).join("") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment