with regard to removing a doc from an array of mongoose sub docs: in the example from the latest mongoose documentation it shows what appear to be synchronous calls to the remove function and subsequently the save function. When I call remove in the manner demonstrated in this way it returns a promise and the save doesn't affect anything. Am I missing something about the way the example is written (or something about mongoose in general) that allows the example to work? http://mongoosejs.com/docs/subdocs.html
fwiw, I was able to remove documents using the optional callback or by using the promise. I'm just trying to understand if I missed something so I can stop wondering about all the things I don't understand.