We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c07696 commit 808592bCopy full SHA for 808592b
activesupport/lib/active_support/hash_with_indifferent_access.rb
@@ -165,7 +165,7 @@ def convert_value(value)
165
value.nested_under_indifferent_access
166
elsif value.is_a?(Array)
167
value = value.dup if value.frozen?
168
- value.replace(value.map { |e| convert_value(e) })
+ value.map! { |e| convert_value(e) }
169
else
170
value
171
end
0 commit comments