Commit 054f099a1594240120ad5dac43039d31fe78c341

Authored by Antonio Terceiro
1 parent 054a43b2

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)
... ...