Closed jonathanhefner closed 11 months ago
@cjlarose what do you think?
Could you please update the CHANGELOG as well?
Done!
@jonathanhefner I extended our test suite for Rails 7.x in #344, but test fails with a can't modify frozen Array
error. We need this to verify your proposed solution. As I am not developing in Ruby anymore for several years, I am not able to fix it quickly. Would you mind having a look at #344?
Looks it works! Merging and releasing...
config
usesDeepMerge.deep_merge!
instead ofHash#deep_merge!
, so monkey patchingHash
is unnecessary. Furthermore, DeepMerge'sHash
monkey patch is not compatible with Rails 7.1 (see rails#49457).This commit changes
require 'deep_merge'
torequire 'deep_merge/core'
so that DeepMerge'sHash
monkey patch is no longer loaded. Users who rely on the monkey patch can load it manually viarequire 'deep_merge/deep_merge_hash'
.Closes #314.