Ensuring thread safety is critical if you want to build a performant Rails app. Unfortunately, threading-related bugs are often sneaky and only manifest in highly concurrent production environments. In this blog post, we'll discuss code examples that are not thread-safe.
There are many excellent authorization libraries for Rails, but did you know it's not that hard to build this functionality yourself? In this article, Renata Marques shows us how to use the Policy Object Pattern to implement access control in our Rails apps.
In this video, we're going to look at how to create a search form using Hotwire. Namely, we're going to filter the search results using Turbo Frames and we'll add a touch of StimulusJS for real-time filtering.
I recently worked on improving the inbound email analysis system in HEY. I had heard of a GitHub library called scientist years ago, and I thought this would be a good use case for it. Its tagline, "A Ruby library for carefully refactoring critical paths", matched precisely what we needed.
Rapid growth of an engineering team poses its own challenges. One of them is keeping test suites healthy. In our newest podcast episode, we talk about that with Justin Searls, co-founder and CTO at Test Double.