Changed ActiveSupport::SecureRandom to SecureRandom