Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Datamapper plugin that adds optimistic locking.
Ruby
branch: master

This branch is 2 commits ahead of moser:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.