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
All letters and digits, that's how numbers are represented in base 36.
api_string = Array.new(32){rand(36).to_s(36)}.join