Datamapper plugin that adds optimistic locking.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
tasks
.gitignore
History.txt
README.rdoc
Rakefile
dm-optlock.gemspec

README.rdoc

dm-optlock

Adds optimistic locking to Datamapper.

Usage:

class Model
  include DataMapper::Resource
  ...
  add_locking_column :my_version_col
end

add_locking_column takes a options hash just like DataMapper’s property method does.

REQUIREMENTS:

  • dm-core >= 0.9.5

LICENSE:

GPL v3 www.gnu.de/documents/gpl-3.0.en.html