method
generate_unique_secure_token
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::SecureToken::ClassMethods
generate_unique_secure_token(length: MINIMUM_TOKEN_LENGTH)public
No documentation available.
# File activerecord/lib/active_record/secure_token.rb, line 43
def generate_unique_secure_token(length: MINIMUM_TOKEN_LENGTH)
SecureRandom.base58(length)
end