AdamFerguson/mongoid4-uuid — pull request #2 by johnallen3d (2014-04-08 15:29:43+00:00)
Title: Prevent #_id generation for invalid documents

This will not create an `#_id` for documents on creation if they are not valid. The use case is creating documents through an API. I don't want to return an id on an object that is essentially invalid (does not exist in collection).

What do you think about this? This may not be the right place because it's not the default Mongoid behavior, but it seems like a is very clean implementation.