jnunemaker/mongomapper — pull request #395 by hamin (2012-03-03 01:51:42+00:00)
Title: Added support for options for atomic modifiers plugin. This enables pass...

...ing :upsert and :safe options to the modifier operation.

Since the mongo ruby driver already supports the upsert and safe options we should be passing those along. If there are any questions I'm more than happy to explain but these are definitely useful. We had to drop down to the ruby driver because we wanted to increment keys which might not exist yet in our use case. Once the pull request is approved and merged, I will can adjust the modifier plugin docs (which I wrote ;) ) to cover these options.