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.
in_transaction helper method to execute code within existing transaction or start a new one if there is no tx open.
It is similar to ActiveRecord::Base.transaction, but it doesn't swallow ActiveRecord::Rollback exception in case when there is no transaction open.
See discussion at #23 for details.
Pull request #23 by [@jpcamara][].
Ability to call in_transaction helper with the same arguments as ActiveRecord::Base.transaction. [@Envek][].