urlencode in Ruby

I dug around for too long to find this one:

You can urlencode by calling CGI.escape.