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.
Things I Wished More Developers Knew About Databases
In data-heavy systems, databases are at the core of system design goals and tradeoffs. Even though it is impossible to ignore how databases work, the problems that application developers foresee and experience will often be just the tip of the iceberg.
Read More
Rails
I usually download the staging or production database in order to test the migration locally. This enables getting migration errors before the deployment. However, I regularly screw up the database with some silly mistake in migration, which requires recreating the database.
Ruby on Rails has some built-in solutions to guarantee GDPR compliance. It is not ideal though. I made some effort to make the framework more complaint.
Rails 6 adds support for setting optimizer hints on databases.
Remote work
Learn strategies for fostering an inclusive culture when working remotely.
Pair programming is more than just a way to build software, it’s the way we build teams.
Ruby
In this short excerpt I will be summarizing what a DTO is, as well as providing 3 examples of the DTO pattern written in Ruby.
Message grouping and deduplication using SQS and Ruby
An operator is bitwise when instead of treating integers as whole numbers, it treats them as a sequence of bits.
Beyond Ruby

Mainline, Feature Branching, Continuous Integration, Release Branch and a clutch of other handy patterns.

Basecamp’s newest product HEY has lived on Kubernetes since development first began.
Blast from the past
Anxiety related to deploys is the single largest source of technical debt in many, many orgs.  Technical debt, lest we forget, is not the same as “bad code”.  Tech debt hurts your people.
Remember all the cases when you were thinking, “Maybe I need to reload this object?” It indicates that your objects are interconnected, and you cannot reason about your code with confidence. Instead, you just guess.
As a Ruby developer you probably use tools like Sidekiq that rely on concurrency. But would you know how to *build* your own sidekiq, or add concurrency to an existing app? This article will open Ruby's concurrency toolbox and show you how each tool works.

Repository of the week
Get your Ruby project out of ENV Hell with anyway_config: the framework for managing your application's configuration.