satyan/sugar — pull request #46 by pguedes (2013-09-20 13:55:29+00:00)
Title: added basic transaction support. fixed DummyContext skel to build.

was trying sugar orm and had some bugs related to transaction behavior.

implemented SugarTransactionHelper to help define transaction scope.

It simply starts a transaction and invokes a callback. If callback is successful, transaction is commited, otherwise it is rolled back.

very simple but hope it helps