Mastodon
Photo by Markus Spiske on Unsplash

Lessons learned after migrating from Heroku to a kubernetes cluster

I recently migrated my company’s rails hosting from Heroku to a kubernetes cluster. It was a daunting task, but I learned a lot. Here are the lessons I learned, and how you can avoid the pitfalls I encountered.

February 20, 2021

An alternative to the ActiveRecord after_initialize callbacks

Avoiding the callback hell in Rails by creating a simple method in the model to initialize associated records.

October 3, 2020

Chaining conditions in regular expressions

Unleash the full power of regular expressions by chaining conditions together.

October 3, 2020

A Leap Into the Unknown

After 19 years as a teacher, I finally made the leap into a new career as a software developer. Here are my thoughts on this transition, the challenges ahead, and the feelings that come with stepping into the unknown.

May 19, 2020

Prevent Devise from sending confirmation emails

When you need to import users into a new Rails app using Devise, you may want to skip sending confirmation emails. Here’s how to do it by overriding an instance method in the User model.

January 26, 2020

Genesis of a Career Change

After 19 years as a teacher, I decided to change careers and become a software developer. Here are the reasons that led me to this decision, and the first lessons I’ve learned from this transformation.

January 20, 2020

First, I drink the coffee...

Here is a wallpaper I made. Feel free to download…​

January 24, 2019