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 We Made Our Maps 10x Faster
Using Datadog to optimize ActiveRecord performance.
Read More
Rails
Now, I'm not going to lie - the vast majority of this was an utter pain in the arse.
This article explains how to achievie Passwordless Authentication using a Magic Link.
Ruby
Rbenv, RubyGems, and Bundler work together to give us a lot of control over our code's environment. If you know how they work, you'll be better prepared to troubleshoot any problems you encounter.
Ruby API received an exciting update recently: the core Ruby type signatures are being imported into the app. Eventually the type signatures will be able to be parsed directly in Ruby API.
Blast from the past

Your credit card debt is out. of. control. What do you do? Budget paydown! In software development, we try to apply that same idea of budgeting paydown to technical debt in our applications.

Best Practices vary from environment to environment, and there is no One True Answer, but still, this represents a consensus from #git and in some cases helps you frame the discussion for the generation of your very own best practices.
Beyond Ruby
I think everyone in tech would improve at their jobs if we all stopped defaulting to the concept of a ‘user.’ I think the concept of a ‘user’ pigeonholes us into ideas that mislead our product direction and corrupt our technical choices.
This review is largely in response to the article "It's probably time to stop recommending Clean Code", and the ensuing Reddit discussion. A lot of really interesting points were brought up, but the big question that the author themself wasn't able to answer was: "What should we recommend instead?"
Repository of the week
About two years ago, we released wasmer-ruby, the Wasmer embedding for Ruby. It allows Ruby developers to embed and natively reference WebAssembly functions from their Ruby applications. Since its inception, the embedding has gained hundreds if not thousands of users and followers on Github and other forums.