method
generate_unique_secure_token
rails 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