method
generate_unique_secure_token
v8.1.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 61
def generate_unique_secure_token(length: MINIMUM_TOKEN_LENGTH)
SecureRandom.base58(length)
end