dup is critical cause people are mucking with stuff that comes out of the cache
This commit is contained in:
parent
5ccc3edcbe
commit
7d9fd350d3
|
@ -19,7 +19,7 @@ module I18n
|
|||
t = @cache[k] = translate_no_cache(*args)
|
||||
end
|
||||
|
||||
t
|
||||
t.dup
|
||||
end
|
||||
|
||||
alias_method :t, :translate
|
||||
|
|
Loading…
Reference in New Issue