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 Fast Is Ruby 3 on Rails?
If you have been following along, the numbers in this post won't surprise you. But it's important to do the final measurement. If you haven't been following, this will bring you up to date.
Read More
Improve the experience of your HOTWire app with Russian Doll Caching and API optimizations.
ActiveRecord makes accessing your database easy, but it can also help make it faster by its intelligent use of caching. In this article, Jonathan Miles shows us the tricks that Rails uses to ensure that your database isn't doing more work than it needs to.
When I wrote about nested factories in Factory Bot, I got a couple of questions to the effect of “why wouldn’t you use traits for that?” In responses to these questions, I’ll lay out my method for deciding when to use traits versus nested factories.
How wondering about an odd benchmark result led to better performance.
IRB’s new measure command is a quick and easy way to measure different snippets from an IRB console.
In this post we discuss the experience of using Semgrep and Brakeman to create the same custom rule within each tool for a client’s Ruby on Rails assessment our team was assessing.
Beyond Ruby
When people say “CI/CD,” they are only talking about continuous integration. Nobody is talking about (or practicing) continuous deployment. AT ALL. It’s like we have all forgotten it exists. It's time to change that.
There are many Dumb Security Questionnaires. This is ours. We think it’s better.
Blast from the past
Some applications need to maintain a user-defined order of items. This article investigates the best way to model the situation in SQL.
Repository of the week
TravisCI.org is dead. Long live the new CI!