LearnBoost/mongoose — pull request #858 by achurkin (2012-04-24 12:57:38+00:00)
Title: Added additional check when loading embed doc in model

Fix for error when loading model with emded document.

For example if we have such schema
```js
var UserSchema = new Schema({
user_id: Number,

})
``