diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2015-01-09 18:24:54 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2015-01-09 18:24:54 -0500 |
commit | 7e006057e082c4eab7424618b24f330e47be8744 (patch) | |
tree | c7fafaf2c3d4991708a12f142ed1fb826256382e /activesupport | |
parent | b1093977110f18ae0cafe56c3d99fc22a7d54d1b (diff) | |
download | rails-7e006057e082c4eab7424618b24f330e47be8744.tar.gz rails-7e006057e082c4eab7424618b24f330e47be8744.tar.bz2 rails-7e006057e082c4eab7424618b24f330e47be8744.zip |
Add missing require
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/securerandom.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/securerandom.rb b/activesupport/lib/active_support/core_ext/securerandom.rb index 394cc76b98..6cdbea1f37 100644 --- a/activesupport/lib/active_support/core_ext/securerandom.rb +++ b/activesupport/lib/active_support/core_ext/securerandom.rb @@ -1,3 +1,5 @@ +require 'securerandom' + module SecureRandom 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. |