markbates/mongoid-embedded-errors — pull request #2 by silentshade (2013-07-17 17:31:22+00:00)
Title: Fix embeds_one handling and updated spec

A small fix that handles mongoid embeds_one relation. Without it we get
```Ruby
NoMethodError: undefined method `each_with_index' for nil:NilClass
```
error on save or update, when using embeds_one