mm-optimistic_locking 0.0.3
Before a record is saved, mm-optimistic_locking will check if it has been modified by another process. If so, a StaleDocumentError will be raised. The object can be reloaded and resaved after the conflict has been resolved.
Gemfile:
=
安装:
=
Runtime 依赖 (2):
activesupport
~> 3.0
mongo_mapper
>= 0.9.0