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.
How rendering partials can slow your Rails app to a crawl
Partials are great. They help with code reusability and keep you sane on those large projects with many moving parts. But they are also a curse. A small one, but one that can get big quickly.
Read More
Rails
If you build a Rails application that has any kind of real-time feature, chances are you use Action Cable.
I'm not sure if the world needed another post about N+1 queries in Ruby on Rails. To make up for the cliche topic, I'll describe less common solutions to this problem.
How to switch to Tailwind CSS JIT when using Ruby on Rails and Webpacker.
Ruby
In this article, I show you how to create a nice collection of tests by putting each test in its own data file.
There's no way around the map method. Coming from functional programming it's an inevitable part of any developer's everyday life. Here's an attempt to break it down visually.
Blast from the past
Like programming in C or driving a car, contemporary shellscript languages require some knowledge and discipline to use safely, but that's not to say it can't be done.
Beyond Ruby
Why your software should be auto-deployed within 15 minutes after you merge it, with no manual gates. This is the key to high performing teams and high-quality software.
I can’t begin to count the number of times I have heard development teams say things like this: 
  • “We don’t have time to fix that.”
  • “Product won’t let us fix our technical debt.”
  • “All we do is build new features.”
Which I mentally translate to
  • We don’t know how to explain the impact of our technical projects.
Repository of the week
Find licenses for your project's dependencies.