[2021-02-11 19:22:31.475] Failure/Error: field :_id, type: String, overwrite: true, default: ->{ street.try(:parameterize) } [2021-02-11 19:22:31.475] [2021-02-11 19:22:31.475] NoMethodError: [2021-02-11 19:22:31.475] undefined method `deep_merge!' for {}:Concurrent::Hash [2021-02-11 19:22:31.475] Did you mean? deep_merge [2021-02-11 19:22:31.475] # ./spec/support/models/address.rb:7:in `block in ___id_default__' [2021-02-11 19:22:31.475] # ./lib/mongoid/fields/standard.rb:243:in `evaluate_default_proc' [2021-02-11 19:22:31.475] # ./lib/mongoid/fields/standard.rb:225:in `evaluated_default' [2021-02-11 19:22:31.475] # ./lib/mongoid/fields/standard.rb:47:in `eval_default' [2021-02-11 19:22:31.475] # ./lib/mongoid/fields.rb:146:in `apply_default' [2021-02-11 19:22:31.475] # ./lib/mongoid/fields.rb:131:in `block in apply_post_processed_defaults' [2021-02-11 19:22:31.476] # ./lib/mongoid/fields.rb:130:in `apply_post_processed_defaults' [2021-02-11 19:22:31.476] # ./lib/mongoid/document.rb:126:in `block in initialize' [2021-02-11 19:22:31.476] # ./lib/mongoid/threaded/lifecycle.rb:91:in `_building' [2021-02-11 19:22:31.476] # ./lib/mongoid/document.rb:118:in `initialize' [2021-02-11 19:22:31.476] # ./spec/mongoid/atomic/paths/embedded/many_spec.rb:13:in `block in address' [2021-02-11 19:22:31.476] # ./spec/mongoid/atomic/paths/embedded/many_spec.rb:21:in `block in <main>' [2021-02-11 19:22:31.476] # ./spec/lite_spec_helper.rb:69:in `block in <main>' [2021-02-11 19:22:31.476] # ./spec/lite_spec_helper.rb:68:in `block in <main>'
Cause: https://github.com/jruby/jruby/issues/6573 + i18n 1.8.8 or newer.