News

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...


Looking up options for Rails helpers | Julia Chan
“Rails Magic” is one of the terms I have heard a lot. Rails indeed is a magical framework as it does a lot under the hood. Yet, it can feel “too magical” for a new Rails dev.Often I looked at a Rails helper and was confused because I didn’t know h...


A demo of Rails and the OpenAI Chat API | Modern Rails
This post will kick off a blogpost series of typical features, that can be built with the OpenAI API and Rails. It’s way more powerful to interact with the API directly than with ChatGPT and a lot of interesting features can be built with the API.


Encrypting Sensitive Data in Rails 7 with Encrypted Attributes - DEV Community
At Zonmaster, we manage a substantial amount of sensitive data, including Personally Identifiable... Tagged with webdev, rails, encryption, security.Recently I posted an article about moving some data out of our MySQL database and into S3 files. I...