after_commit_everywhere
after_commit_everywhere copied to clipboard
Use ActiveRecord transactional callbacks outside of models, literally everywhere in your application.
Before anything else, I want to say thank you for this gem. It is awesome and very helpful in our code base. Currently, I'm running into some flaky test behavior...
If an `after_commit` is called inside of a transaction and that transaction has calls to model methods that can trigger model callbacks, the block passed to `after_commit` will be called...
Since it is a common use to use `after_commit` around ActiveJob calls (like in #19), would it make sense to add to this gem a `perform_after_commit` method to all ActiveJob...
Hello, thanks for all the hard work on this gem! I've been trying to use this gem to prevent ActiveJob jobs from enqueueing within transactions but have run into some...