URI Encoding in Ruby
require 'uri' val = URI.escape("my parameter value")
DZone Snippets > cyu > ruby
12388 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Calvin Yu http://blog.codeeg.com
require 'uri' val = URI.escape("my parameter value")