mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add missing require
This commit is contained in:
parent
b109397711
commit
7e006057e0
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
require 'securerandom'
|
||||||
|
|
||||||
module SecureRandom
|
module SecureRandom
|
||||||
BASE58_ALPHABET = ('0'..'9').to_a + ('A'..'Z').to_a + ('a'..'z').to_a - ['0', 'O', 'I', 'l']
|
BASE58_ALPHABET = ('0'..'9').to_a + ('A'..'Z').to_a + ('a'..'z').to_a - ['0', 'O', 'I', 'l']
|
||||||
# SecureRandom.base58 generates a random base58 string.
|
# SecureRandom.base58 generates a random base58 string.
|
||||||
|
|
Loading…
Reference in a new issue