RubyGems.org

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.

installgem install mm-optimistic_locking
Authors

Andy Lindeman

2,115 total downloads 1,102 for this version
Owners

04ec66ce302551a608ec3a0451cfa1f2

Gemfile
gem 'mm-optimistic_locking', '~> 0.0.3'
Versions
  1. 0.0.3 September 13, 2011 (7 KB)
  2. 0.0.1 June 27, 2011 (4.5 KB)
Show all versions (3 total)