mongoid_retry 0.0.1
Provides a 'save_and_retry' method that will attempt to save a document and, if a duplicate key error is thrown by mongodb, will update the existing document instead of failing.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (1):
mongoid
~> 2.0