there is a Hash like this:
params = { k1: :v1, k2: :v2, etc: :etc }
i need it converted to a string like this:
k1="v1", k2="v2", etc="etc"
i have a working version:
str = ""
params.each_pair { |k,v| str << "#{k}=\"#{v}\", " }
but it smells like ten PHP spirits ...
what's the Ruby way to do this?