When a bug is encountered check for parallels elsewhere

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the workflows category.

Last Updated: 2022-12-01

With the attribute_normalizer gem, I was striping the newlines out of the descriptions on the uploaded Subject entities on OxbridgeNotes, ruining the nice, formatted descriptions created by notes authors. I fixed this aggressive stripping and deployed.

Then I had the luck of asking myself, "wait, have I looked for parallel issues elsewhere"? I ripgrepped the codebase for the same method call and, sure enough, I had done the same thing in the tutors area.

In doing this extra round of checks, I got twice as much bang out of my debugging time.