lib/active_graph/transaction.rb in activegraph-10.0.1 vs lib/active_graph/transaction.rb in activegraph-10.0.2

- old
+ new

@@ -6,14 +6,17 @@ end def close success super - after_commit_registry.each(&:call) unless @failure end def after_commit(&block) after_commit_registry << block + end + + def apply_callbacks + after_commit_registry.each(&:call) unless @failure end private def after_commit_registry