fixes #1136 (and a few other cases)

This commit is contained in:
albert
2013-03-30 11:51:17 -04:00
parent 85a5fcc658
commit cb1b021c2c
4 changed files with 4 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ class Artist < ActiveRecord::Base
module ClassMethods
def normalize_name(name)
name.to_s.mb_chars.downcase.strip.gsub(/ /, '_')
name.to_s.mb_chars.downcase.strip.gsub(/ /, '_').to_s
end
end