Closed ahmadsherif closed 12 years ago
... otherwise, you are forced to call to_s on the document id to avoid a JSON::ParseError exception.
This pull request passes (merged a39c9f30 into 1def4d01).
Thanks for adding to_builder for Mongoid >= 3. :metal: I cut a release at 3.1.7 with this patch applied.
to_builder
... otherwise, you are forced to call to_s on the document id to avoid a JSON::ParseError exception.