Rails: The Sharp Parts. Callbacks Are Not Invariants (opens in new tab)
Callbacks promise that something always happens when a record changes. They can't keep that promise, and Rails documents the ways out. Every failure mode here ran against ActiveRecord 8.1 before it went in, and the replacement is a command with one door.
Read the original article