lib/grumlin/dummy_transaction.rb in grumlin-1.0.3.beta1 vs lib/grumlin/dummy_transaction.rb in grumlin-1.0.3
- old
+ new
@@ -12,13 +12,11 @@
logger.info(self) do
"#{Grumlin.config.provider} does not support transactions. commit and rollback are ignored, data will be saved"
end
end
- def commit
- nil
- end
+ private
- def rollback
- nil
+ def finalize(*)
+ @pool.close
end
end