DEV Community

Discussion on: Rails `after_commit` everywhere

Collapse
akostadinov profile image
Aleksandar Kostadinov

Is it better than the after_commit_queue [1] gem? Seems like this one is decoupled from model being saved. Which might be expected and desirable or unexpected.

[1] github.com/Ragnarson/after_commit_...

Collapse
palkan_tula profile image
Vladimir Dementyev Author

Yes, this gem is better. It uses Active Record APIs (thus, battle-tested) and not a custom queue implementation.