Adds nested transaction support to DataMapper
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
rails
.gitignore
README
Rakefile
VERSION
dm-nested-transactions.gemspec

README

dm-nested-transactions
----------------------

Adds nested transaction support to DataMapper. Only tested with Postgres, and it's a bit of a hack, so use at your own risk!

Install:
  gem install dm-nested-transactions

Usage:
  repository.adapter.extend(DataMapper::NestedTransactions)

There's a rails/init.rb file that automatically does the above for you. If you are using rails, you probably also want xaviershay-dm-rails since dm-rails 10.2 is broken with transactions.