Blog

  • A tiny detail that completely changes how your debugger behaves

    Yesterday, while trying to create example errors on my localhost for another article, I accidentally found a real bug during my normal workflow. While debugging it, I noticed something worth sharing 👇 When you put a debugger outside the ActiveRecord::Base.transaction block, it doesn’t follow the same data flow as when you put it inside —… Continue reading

  • There is taking notes and there is “taking notes”

    I admire people who are so organised that they can call it a system. I came across this article: https://www.eleanorkonik.com/p/the-konik-method-for-organizing-electronic about note-taking, even though I love the idea and how everything has its place. I know and have to admit that I will never manage that. I take notes all the time. I use Obsidian,… Continue reading

  • How to tell if your test coverage is solid?

    How to tell if your test coverage is solid?

    That’s easy. Let’s use something like rcov. That will tell me the percentage of test coverage. And if my percentage is above 95%, I’m golden. Well, not quite. Most of these test coverage tools cover only unit tests.  I know that if my test coverage is solid, I can rely on tests to break when… Continue reading