diff --git a/lib/model/adapters/mongo.js b/lib/model/adapters/mongo.js index 14c1ada7..5309da6e 100644 --- a/lib/model/adapters/mongo.js +++ b/lib/model/adapters/mongo.js @@ -70,6 +70,8 @@ var Mongo = function (config) { // if there's a doc, create a model out of it if (doc) { + // TODO: figure out why this uses native _ids + delete doc._id; instance = geddy.model[self.model].create(doc); }