Requested as a separate commit by landry@. OK landry@
generic active transaction support for ruby objects