How can I fix this code so it generates unique random letters and numbers in lower case?
api_string = (0...32).map{65.+(rand(25)).chr}.join
i forgot from where, but i've read this somehow this morning
l,m = 24,36 rand(m**l).to_s(m).rjust(l,'0')
it create random number from 0 to power(36,24), then convert it to base-36 string (that is 0-9 and a-z)