Commit e06ba228819841e2a245f8e4100c651ee4653be8

Authored by Antonio Terceiro
1 parent 6662aa7b

ActionItem1169: using dup instead of clone

I don't understand why this wasn't causing crashes all over the place,
but at least it won't crash anymore.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero/core_ext/string.rb
... ... @@ -27,7 +27,7 @@ class String
27 27 # Don't abuse this method.
28 28 def transliterate
29 29  
30   - new = self.clone
  30 + new = self.dup
31 31 TRANSLITERATIONS.each { |from,to|
32 32 from.each { |seq|
33 33 new.gsub!(seq, to)
... ...