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 · 1 min

Chaining conditions in regular expressions

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

October 3, 2020 · 2 min

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 · 2 min

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 · 2 min

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 · 4 min

First, I drink the coffee...

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

January 24, 2019 · 1 min
Mastodon