Tbh I had no idea this was even a thing until recently. I've been working with Rails for a while now and somehow never came across it. So let me explain it the way I understood it. You know how we normally do associations in Rails, User has many Posts, Post belongs to User. Two different models, two different tables. Simple. But what if a model needs to reference itself? Like same table, same mode
Yesterday, I hit the rate limits on all my AI subscriptions. I was blocked. For two hours. I was just sitting there, staring at the message in Copilot CLI… wondering what to do next. Do I: Buy extra credits? Upgrade my plans to some “pro max” tier Or just code by myself like I used to? First option = more money. And honestly, I wasn’t ready to invest more. Second option = free, but let’s be real…
You have probably seen a file named “go.sum” in almost every Go project you have worked on. You may have even seen it change every time you run “go mod tidy”. But do you actually know what it does? It is one of those files that works silently in the background, and some developers never stop to think about it. The “go.sum” file is one of those files you never really interact with directly, but it