Created
March 1, 2012 21:13
-
-
Save JangoSteve/1953264 to your computer and use it in GitHub Desktop.
Generate session secret
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_support/secure_random' | |
random_string = ActiveSupport::SecureRandom.hex(30) | |
puts random_string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment