module HasUniqueRandom

Constants

VERSION

Public Class Methods

generate_unique_random(length=8) click to toggle source
# File lib/has_unique_random.rb, line 7
def self.generate_unique_random(length=8)
  SecureRandom.alphanumeric length
end