LearnBoost/mongoose — pull request #2014 by chetverikov (2014-04-10 02:14:41+00:00)
Title: Fix bug populate array of object

Fix for:

```
... node_modules/mongoose/lib/model.js:2068
|| schema && schema.options.ref // declared in schema
^
TypeError: Cannot read property 'ref' of undefined
```