diff options
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/hash_with_indifferent_access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb index bb47b3560a..3e6c8893e9 100644 --- a/activesupport/lib/active_support/hash_with_indifferent_access.rb +++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb @@ -165,7 +165,7 @@ module ActiveSupport value.nested_under_indifferent_access elsif value.is_a?(Array) value = value.dup if value.frozen? - value.replace(value.map { |e| convert_value(e) }) + value.map! { |e| convert_value(e) } else value end |