url_encode

  def url_encode(text)
    ::CGI.escape(text)
  end