
Track and debug your ActiveRecord SQL queries with annotations
Embed contextual comments directly into your SQL queries using ActiveRecord’s annotate method, making log analysis and debugging far easier.

Embed contextual comments directly into your SQL queries using ActiveRecord’s annotate method, making log analysis and debugging far easier.

Simple rules for ordering Ruby method arguments — put optional arguments last, and switch to keyword arguments when you have more than one optional parameter.

Stop ignoring error messages and start reading them — it will make you a better developer and help you understand your language from the inside out.

A set of guidelines to write clean, readable code that you — and your future self — will thank you for.

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.

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

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

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.

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.

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.