class method
self.base36
Ruby on Rails 7.1.6
Since v6.0.6Signature
self.base36(n = 16)
No documentation comment.
Parameters
-
nopt = 16
Source
# File activesupport/lib/active_support/core_ext/securerandom.rb, line 45
def self.base36(n = 16)
SecureRandom.alphanumeric(n, chars: BASE36_ALPHABET)
end
Defined in activesupport/lib/active_support/core_ext/securerandom.rb line 45
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in SecureRandom