I have noticed, with surprise, that in the new version of MongoDB Ruby Driver, BSON::DBRef has disappeared. Given that MongoDB's website still states that the Ruby Driver supports DBRefs I imagine that only the mode of accessing DBRefs has changed. But how can I create and load DBRefs with Ruby Driver 2 (Using MongoDB 3)?
Asked
Active
Viewed 97 times
1 Answers
1
It's not included in the 2.0 gem currently, but it's going to be added soon for backwards compatibility. Please see this mongodb-user message on the topic, from one of the driver devs.

wdberkeley
- 11,531
- 1
- 28
- 23