dup is critical cause people are mucking with stuff that comes out of the cache

This commit is contained in:
Sam 2013-04-26 13:58:30 +10:00
parent 5ccc3edcbe
commit 7d9fd350d3

View File

@ -19,7 +19,7 @@ module I18n
t = @cache[k] = translate_no_cache(*args) t = @cache[k] = translate_no_cache(*args)
end end
t t.dup
end end
alias_method :t, :translate alias_method :t, :translate