Skip to content

Commit

Permalink
Merge pull request #311 from ExReanimator/master
Browse files Browse the repository at this point in the history
Fix with force_lowercase setting processing for multibyte charsets
  • Loading branch information
tilsammans committed Apr 10, 2013
2 parents e2bf82d + 1d8bcd2 commit 3ce58b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/acts_as_taggable_on/tag_list.rb
Expand Up @@ -81,7 +81,7 @@ def to_s
def clean!
reject!(&:blank?)
map!(&:strip)
map!(&:downcase) if ActsAsTaggableOn.force_lowercase
map!{ |tag| tag.mb_chars.downcase.to_s } if ActsAsTaggableOn.force_lowercase
map!(&:parameterize) if ActsAsTaggableOn.force_parameterize

uniq!
Expand Down

0 comments on commit 3ce58b2

Please sign in to comment.