What is Ruby doing on Rails?
Hello, you're reading Infinum Ruby Drops, bringing you the latest Ruby and Rails related news straight to your inbox every week.
Embracing asynchronous communication at GitLab
How to work asynchronously in a remote company.
Read More
Rails
If you've ever built a UI in Rails, you've probably noticed that views tend to get slower over time. Fortunately, Rails provides us with an easy-to-apply band-aid in the form of view caching.
Let me tell you the story of how we implemented Postgres-schema based multitenancyin one of the projects we dealt with.
I expected the performance characteristics moving to heroku “standard” dynos would be about the same as they are on our current infrastructure. But was surprised to see some degradation.
Ruby
I was noticing half a dozen exceptions per page being silently raised and rescued on an app. Raising exceptions is pretty slow, much slower than just asking if the object responds or not.
Ignoring any benefit to the wider Ruby community, Sorbet has been a resounding success internally. In the beginning, it was just type enthusiasts who were adding type signatures to files. Now, having recognized the value they provide, it’s everyone.
Beyond Ruby
In 2020, if you’re giving a tech talk, chances are it’s not in person. You’re using something like Zoom, Hangouts, Skype, YouTube or StreamYard.

A google sheets script is a handy way to share a short script for non-programmers.

There is a moment in time in incident analysis where you need to pivot from identifying timeframes in which the incident happened and machines that are affected to actual instances of the incident in question.
Blast from the past
“If you’re doing what you’re told, you’re paid too much.”

The fact this question continues to come up time and again after all these years prompted me to wonder why the matter hasn’t been settled by now. Thousands of people have tried their hand at pairing in a wide range of circumstances.
Repository of the week
Strict interfaces in Ruby