Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
Scott Wheeler
Nice one liner for hash -> query string in Ruby: params.map { |key, value| "#{URI.encode(key)}=#{URI.encode(value)}" }.join('&')