Really simple example for escaping your strings
require 'uri'
str = URI.escape(str) if str.length > 0
Really simple example for escaping your strings
require 'uri'
str = URI.escape(str) if str.length > 0
Please wait while my tweets load 
John Griffiths