Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

URI Encoding In Ruby

DZone's Guide to

URI Encoding In Ruby

·
Free Resource
To encode the web parameters for a URL query string.


require 'uri'
val = URI.escape("my parameter value")
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}