1 2 3 4 5 6
require 'securerandom' module ActiveSupport # Use Ruby's SecureRandom library. SecureRandom = ::SecureRandom # :nodoc: end