Use ActiveRecord transactional callbacks outside of models
31-Mar-2022 2111
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 #ruby #rubydeveloper #rubyonrails #ActiveRecord #transactional #callbacks #outside #models #activerecord #callbacks https://rubyonrails.ba/link/use-activerecord-transactional-callbacks-outside-of-models