Programming Search⌘K

Ruby lints, page 2 of 6

The lint rules of Ruby, with what each one finds. This page has 1,016 cards.

`URI.escape` method is obsolete and should not be used. Instead, use `CGI.escape`, `URI.encode_www_form` or `URI.encode_www_form_component` depending on your specific use case. Also `URI.unescape` method is obsolete and should not be used. Instead, use `CGI.unescape`, `URI.decode_www_form` or `URI.decode_www_form_component` depending on your specific use case. Lint/UriEscapeUnescape

RuboCop enables it by default. It was added in RuboCop 0.50.

Code
Lint/UriEscapeUnescape

Source: github.com, docs.rubocop.org. JSON record. This entry is a card. Help write this page.