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.
Using Service Objects in Ruby on Rails
Find out what service objects are and why you should use them.
Read More
Rails
Turbolinks, Stimulus, and Server Rendered HTML is a compelling alternative to modern JavaScript single page apps. Let’s build a hovercard to see how you can kick it old school with a more boring approach.
Adding correct Postgres indexes on join tables is not obvious. I've noticed that some tutorials, Stack Overflow posts, and even Rails itself provide incorrect advice on how to do it. In this tutorial, we'll look into how compound Postgresql indexes work and how to correctly use them with join tables.
DBAs and developers use pganalyze to identify the root cause of performance issues, optimize queries and to get alerts about critical issues.
Ruby
 Ruby 2.7 adds Enumerable#filter_map 

For a long time I wanted to show visually the compatibility of Ruby implementations with ruby/spec
Beyond Ruby
Writing to each other in Slack while expecting immediate answers, or setting up multiple Zoom meetings every day will fail with remote work in the long run.
Examining 2,000+ npm modules for common mistakes when using JWT.

How to SSH properly and easily improve the security of your SSH model without needing to deploy a new application or make any huge changes to UX.

Blast from the past
Managing inconsistent APIs in your application can be hard. These remediation strategies can keep your applications running.

Repository of the week
We are announcing that version 2 of the AWS SDK For Ruby will enter maintenance mode on 11/20/2020. Support for version 2 will end on 11/21/2021.