Remove uses of string.mb_chars.downcase.

`string.mb_chars.downcase` was used to correctly downcase Unicode
characters when downcasing strings in Ruby <2.4. This hasn't been needed
since Ruby 2.4.
This commit is contained in:
evazion
2022-02-05 13:27:38 -06:00
parent a3ef7bf573
commit 6ff5ae1ce8
7 changed files with 7 additions and 8 deletions

View File

@@ -91,7 +91,7 @@ class PoolVersion < ApplicationRecord
end
def self.normalize_name_for_search(name)
normalize_name(name).mb_chars.downcase
normalize_name(name).downcase
end
def previous