Articles by Ernesto Tagwerker

Getting Ready for Rails 6.0: How to Dual Boot

RailsConf 2019 is right around the corner. That means Rails 6.0 is right around the corner! Rails 6.0's beta has been available since January 18, 2019. Rails 6.0.0.rc1 was released today! 🎉

In this article I will explain how you can dual boot your application in your local environment and your CI server. I hope that this will help you get ready for the next stable release of Rails.

Read more »

Legacy Rails: Silently Judging You

I had to come up with a clever title because this article is about legacy Rails applications and I know that you might fall asleep by the third paragraph. Boooooring... You probably want to read about that new JavaScript framework that came out (I love that this sentence will always be true, it doesn't matter when you read this)

If you have been working with Rails for a few years, you have seen your fair share of shiny new applications, well-maintained and poorly-maintained legacy applications. This post is about Legacy Rails applications

Read more »

Tips for Writing Fast Rails: Part 1

Rails is a powerful framework. You can write a lot of features in a short period of time. In the process you can easily write code that performs poorly.

At Ombu Labs we like to maintain Ruby on Rails applications. In the process of maintaining them, adding features and fixing bugs, we like to improve the code and its performance (because we are good boy scouts!)

Here are some tips based on our experience.

Prefer where instead of select

When you are performing a lot of calculations, you should load as little as possible into memory. Always prefer a SQL query vs. an object's method call.

Read more »