Safe strings for urls in rails?

Is there a built-in way to convert a string so that it is safe in the url?

+4
source share
1 answer

CGI :: escape ()

For decoding: CGI :: unescape ()

+7
source

Source: https://habr.com/ru/post/1347032/


All Articles