Today, I wrote some code that looked a little bit like this:
Imagine my surprise when my log output was a long stream of Update Called lines.
What happened here is that save is implemented as a call to update when the object already exists.
Inadvertently picking a method name that is the same as an important Rails method can be hard to track down. I already had my logging in there, so I wasn’t left wondering why the call never completed.