method
generate_secret_with_secure_random
rails latest stable - Class:
Rails::SecretKeyGenerator
generate_secret_with_secure_random()public
Generate a random secret key with Ruby 1.9’s SecureRandom module. Raises LoadError if the current Ruby version does not support SecureRandom.