Understanding Rails Callbacks and Common Pitfalls
I recently spent a good chunk of time debugging a bug and in turn, did a lot of research on how Transactions and Touch work with callbacks like after_commit. Below is the debugging "story" I shared on X, if you like reading those, give it a shot but it's not required for this reading.
Understanding Rails Callbacks and Common Pitfalls #ruby #rubydeveloper #rubyonrails #callbacks https://rubyonrails.ba/single/understanding-rails-callbacks-and-common-pitfalls