Unclaimed project
Are you a maintainer of after_commit_everywhere? Claim this project to take control of your public changelog and roadmap.
Changelog
Use ActiveRecord transactional callbacks outside of models, literally everywhere in your application.
Last updated 4 months ago
Ability to prepend callbacks to the head of callback queue using prepend: true option.
AfterCommitEverywhere.after_commit { puts "I'm second!" }
AfterCommitEverywhere.after_commit(prepend: true) { puts "I'm first!" }
See Pull request #30 by [@quentindemetz][] and [@A1090][].