uniquify
uniquify copied to clipboard
Rails5 implemented similar feature.
Please update README to add this. https://github.com/rails/rails/blob/master/activerecord/lib/active_record/secure_token.rb
Be careful because has_secure_token :token
is not checking if the token exists; but of course, it is highly improbable that SecureRandom.base58(24)
will return an uuid that already exists