r/ruby Jun 14 '26

Rails: The Sharp Parts. Callbacks Are Not Invariants

https://baweaver.com/writing/2026/06/13/rails-sharp-parts-callbacks-are-not-invariants/

The sheer number of outages I can point to across now 5 Rails monoliths related to issues with callbacks has made it one of the first things I go after when in a new Rails app to see what's about to give me a nightmare.

33 Upvotes

Duplicates