-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
There appears to be an undocumented breakage in 7.4.0. Assuming a User model with an external_ids field of type Hash, and a user record with external_ids value of
{ a: 1 }, running the following:
user.set(external_ids: { b: 2 })
< 7.4.0
=> #<User external_ids={ a: 1, b: 2 }>
>= 7.4.0
=> #<User external_ids={ b: 2 }>
- duplicates
-
MONGOID-4593 Model.set hash merge behavior does not match $set
-
- Closed
-
- is duplicated by
-
MONGOID-5276 Undocumented breakage of Model#set
-
- Closed
-
-
MONGOID-5277 Undocument Model#set breakage in 7.4.0
-
- Closed
-
-
MONGOID-5278 Undocument Model#set breakage in 7.4.0
-
- Closed
-
- is related to
-
MONGOID-5340 Add $set behavior change in Mongoid 7.1 to release notes
-
- Closed
-