-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: BSON
-
None
-
Fully Compatible
With ActiveSupport 5.2.4:
d = BSON::Document.new(foo: 'bar')
d[:foo] # "bar"
d['foo'] # "bar"
d.symbolize_keys!
d[:foo] # nil
d['foo'] # nil
d.to_h # {:foo=>"bar"}; it's still in there