Open victor0402 opened 10 years ago
Hi, Could you please remove that mongodb and install mongodb version 0.9.9?
rm -r node_modules/jugglingdb-mongodb/node_modules/mongodb
npm install mongodb@0.9.9
thanks, now the call to create is ok, but id still null in the database:
{
"_id" : ObjectId("53500a69119e279624000001"),
"name" : "new test",
"id" : null
}
It's mongo specific, as they use _id as id name.
On 17 April 2014 18:21, Victor Carvalho notifications@github.com wrote:
thanks, now the call to create is ok, but id still null in the database:
{ "_id" : ObjectId("53500a69119e279624000001"), "name" : "new test", "id" : null }
— Reply to this email directly or view it on GitHubhttps://github.com/1602/compound/issues/619#issuecomment-40739216 .
i'm trying to create a scaffold application with mongodb, like this:
then i create a new person at localhost:3000/people/new when i save the person i get the following error:
in my database the person was saved, but with "id" null:
I'm using mongodb 2.6.0, ubuntu 13.04 and jugglingdb 0.2.13