From 27acbcace770eb1c00019b2e5b3e463f01cf787d Mon Sep 17 00:00:00 2001 From: Toks Date: Mon, 16 Jun 2014 20:58:48 -0400 Subject: [PATCH] Make wiki other names case-sensitive --- app/models/wiki_page.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index 49baa181a..e25d9250a 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -144,7 +144,6 @@ class WikiPage < ActiveRecord::Base def normalize_other_names normalized_other_names = other_names.to_s.gsub(/\u3000/, " ").scan(/\S+/) - normalized_other_names = normalized_other_names.map{|name| name.downcase} self.other_names = normalized_other_names.uniq.join(" ") end