Created
July 12, 2011 00:37
-
-
Save terrcin/1077127 to your computer and use it in GitHub Desktop.
This file contains 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
begin | |
token = generate_random_token | |
end while User.find_by_token(token).nil? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment