Foundation - Open Closed Principle
The acronym SOLID is quite popular in the OOP realm, but I tend to notice that the “O” which stands for Open Closed Principle tends to get overlooked.
The acronym SOLID is quite popular in the OOP realm, but I tend to notice that the “O” which stands for Open Closed Principle tends to get overlooked.
I consider working with email templates a frustrating task and especially if you can’t debug the issues during implementation. In this post, I’ll share how I deal with implementing email templates based on the Amazon SES service.
It’s the same API key, why it’s not working? 🤔
In the previous post, we saw how to test time logic. In this post, I will share 3 common issues in specs and how to improve them.
You finished working on a ticket, all specs are passing locally, and you submit a PR. But today isn’t that day, the PR fails to build and it seems not only your PR but all builds are failing on that repository. You pause the music, mutter to yourself a curse and dig in the logs to discover that a set of specs contain a hard-coded date value, which is yesterday. How to prevent this? That’s what we will discover in this post.
From generating UUIDs for a new column to fixing legacy data, we need to write a custom script to achieve this.
I worked recently on migrating lambda functions to a Rails backend.
If you have worked on a Rails project, it’s guaranteed to come across callbacks. We will see in this post a refactoring example and how to use them safely. Let’s get started :smiley:
I was working recently on a Rails project and I faced an interesting behavior of delete_all
from ActiveRecord. In this post, I’ll go through the steps that I have done to understand what happened and how I did manage to get around it.