SecureRandom is available from ActiveSupport in Ruby < 1.9