-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
As discovered in https://github.com/mongodb/mongoid/pull/5054, this method in Mongoid predates the current implementation in bson-ruby and doesn't do anything useful (other than being in the way should we decide to change the bson-ruby implementation). I suggest removing it from Mongoid.
- clones
-
MONGOID-5162 Remove BSON::ObjectId#as_json override
- Closed
- related to
-
RUBY-2783 Return a String without "$oid" from BSON::ObjectId#as_json and #to_json
- Closed
- links to