{"action":"opened","issue":{"number":44,"created_at":"2011-10-10T19:18:37Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I'm being left with a null behind when I call delete on an embeded document. \r\n\r\nI  converted it to this to get around the problem:\r\n\r\nMy_Document::update(array('_id' => $document->getId()), array('$pull' => array('applications' => array('application.$id' => $this->app->getId()))));","comments":0,"title":"Calling delete on embeded document leaves null behind","updated_at":"2011-10-10T19:18:37Z","url":"https://api.github.com/repos/coen-hyde/Shanty-Mongo/issues/44","id":1867118,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/0b668da31995d4dfb4b2e3a66b68fb61?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/tholder","id":41235,"login":"tholder"},"html_url":"https://github.com/coen-hyde/Shanty-Mongo/issues/44","labels":[],"state":"open"},"legacy":{"number":44,"action":"opened","issue":1867118}}