Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 353 Bytes

README.rdoc

File metadata and controls

19 lines (14 loc) · 353 Bytes

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