Use ActiveRecord transactional callbacks outside of models, literally everywhere in your application.
Allows to use ActiveRecord transactional callbacks outside of ActiveRecord models, literally everywhere in your application.Inspired by these articles:https://evilmartians.com/chronicles/rails-after_commit-everywherehttps://blog.arkency.com/2015/10/run-it-in-background-job-after-commit/.
Use ActiveRecord transactional callbacks outside of models, literally everywhere in your application. #ruby #rubydeveloper #rubyonrails #activerecord #application. #callbacks https://rubyonrails.ba/single/use-activerecord-transactional-callbacks-outside-of-models-literally-everywhere-in-your-application