URI.escape is obsolete. Percent-encoding your query string
19-Jan-2020 1521
Ruby 2.7.0 shows a warning when invoking URI.escape or its alias, URI.encode. It might look like a fresh deprecation, but the fact is, these methods have been marked as obsolete for… over 10 years now! If you’re wondering how come you’ve never encountered the warning before, here’s the answer: previously it was displayed only if you run your script in a verbose mode, and this has changed just recently.
URI.escape is obsolete. Percent-encoding your query string #ruby #rubydeveloper #rubyonrails #URI.escape #obsolete. #Percent-encoding #query #string https://www.rubyonrails.ba/link/uri-escape-is-obsolete-percent-encoding-your-query-string