Adds nested transaction support to DataMapper
Ruby
Latest commit e03f429 Jun 23, 2010 @xaviershay 0.0.4
Permalink
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.