News
Phlex with Hanami - make your views written in Ruby. Completely. | Hanami Mastery
Different people started to address this issue, of web development being too complicated. Tools like HTMX and Hotwire allow you to skip writing Javascript, and work only with HTML documents being sent to the server, and new documents being sent ba...
From Bloat to Sleek: A Rails Memory Tale With Jemalloc
In my previous blog we tried to analyze what could be the reason behind a Rails app hogging so much memory. Now there are multiple ways to approach this issue from fixing N 1 queries to profiling shady APIs and debugging them, my most fruitful dis...
Finishing Hotwire with the introduction of Strada
When we announced Hotwire a few years back, it was always meant as a triptych. The center piece is Turbo. That's the drop-in level-up that makes multi-page web apps feel like single-page web apps – without giving up any of the development advantag...
How to use Cursor IDE to make changes in a Rails app
The first task that I asked was about replacing an HTML with a component. To achieve this in Cursor (MacOS edition) you have to select the text and then press CMD K. Then a pop-up will appear where you can ask your question (or write your prompt) ...
Rails Middleware: (Almost) Everything You Need to Know
Most web applications have some functionality that's common for many (or even all) HTTP requests. For example, an application will authenticate the user and log the incoming HTTP request, add new headers, or check if the request is for a static fi...
We Turned Lobste.rs into a Rails Benchmark for YJIT | Rails at Scale
We’re very proud of how well YJIT, the default JIT in CRuby, optimizes Rails apps. We’ve been using small Rails benchmarks for a couple of years. But as YJIT improves we need more data from real world apps to help us understand what will speed up ...
Let's Read the Turbo Source: What Happens When You Click a Link?
I used to love TypeScript, but now I prefer plain JavaScript, both for reading and writing. So personally, I am happy with this bold move, even though everyone on the Internet seems to be pissed off.Anyway, ever since switching to Hotwire two year...