# File lib/after_commit/connection_adapters.rb, line 157 def trigger_after_commit_on_destroy_callbacks # Trigger the after_commit_on_destroy callback for each of the committed # records. AfterCommit.destroyed_records(self).each do |record| record.send :callback, :after_commit_on_destroy end end