The problem is sitting down to write and thinking I have nothing original to say. You start a blog and a few weeks later you forget about it. Someone told you that original thought is a prerequisite for creative work.
At times I forget to commit my changes until days later. I prefer these commits show an accurate commit date of when the work was actually done.
I’ve written crappy commit messages in the past and I’ve picked up a few tricks over time that help me write helpful descriptions.
Ira Glass is the producer of the radio and television series “The American Life”. His take on bridging the gap between taste and ability deeply resonated with my own journey with writing.
When I set a table column to decimal, I tend to forget the difference between precision and scale.
If you import data into a Rails project manually, you’ll see that the primary key count in Rails might be off. For example, running
User.last doesn’t show the last row in the User table.
It’s been close to three years since I moved away from full-time product management.
Once you have Redis set up as a Rails cache backend for your project, here’s how you can explore it in the Rails console.
Document your code so that the next poor developer that has to extend it or fix it will be thankful you did.