-
Type: Bug
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Persistence
-
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-5279 Undocument Model#set breakage in 7.4.0
- Closed