personal notes

Notes from the terminal

Short, practical writing about programming, debugging, and the details that shape how code behaves.

find_sole_by in Rails

4 Sept 2026

A simple note on using find_sole_by when your query should return exactly one record.

performed? in Rails

4 Sept 2026

A short note on using performed? to check whether a Rails action has already rendered or redirected.