RubyGems Navigation menu

mm-optimistic_locking 0.0.1

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:
= Copy to clipboard Copied!

instalar:
=

Versões:

  1. 0.0.3 - September 13, 2011 (7 KB)
  2. 0.0.1 - June 27, 2011 (4,5 KB)
Mostrar todas as versões (3)

Runtime Dependencies (2):

activesupport ~> 3.0
mongo_mapper ~> 0.9.0

Development Dependencies (3):

database_cleaner ~> 0.6.7
rake ~> 0.8.7
rspec ~> 2.6.0

Donos:

Autores:

  • Andy Lindeman

SHA 256 checksum:

e35ec5251971c877f99ab7cf98521168d17c02d892e56c84795dc4a2887f80df

Total de downloads 7.515

Desta versão 3.199

Licenças:

N/A

Versão Requerida do Ruby: Nenhum

Links: