jenssegers/Laravel-MongoDB — pull request #180 by alexandre-butynski (2014-04-08 10:22:52+00:00)
Title: Fix #175 : embedsMany duplicates are identified by key

The exists attribute is not enough reliable to detect duplicates in embedsMany documents. I just wrote a small `contains()` method that is used instead.