RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

🔡 Ever wondered how Ruby translates numbers into characters—or even emojis?

In my latest article, I explore how Ruby’s .chr and .ord methods reveal the hidden logic behind ASCII, accented characters like “á”, and even emojis like “😀”. From raw bytes to multi-byte UTF-8 encoding, it’s a fascinating journey into how characters really work in Ruby. [more inside]

Introducing Veri – Minimal Cookie-Based Authentication for Rails

Veri is a new minimalistic authentication framework for Rails built around granular session management. Unlike full-stack solutions, Veri doesn’t impose business logic or provide pre-built views and controllers. It focuses on secure authentication primitives with detailed session control and gives you the building blocks for custom authentication flows. [more inside]

The Hotwire-Rails summit, or interactive multi-step forms at peak UX

Picture this: one day your product, which was built with Ruby on Rails in a canonical HTML-first (Hotwire) fashion, gets an “off-world” feature request, namely, building a highly-customizable and amazingly-interactive user interface. You stare at Figma mockups scratching your head and mulling an unspeakable question: “Is the Renaissance at an end? Should we reach for React now?” Before you abandon ship, read the tips and tricks we devised while building a sophisticated multi-step form that rivals any SPA experience! The Hotwire-Rails summit, or interactive multi-step forms at peak UX

🚀 SOLID vs OOP in Ruby: Are We Just Repackaging the Same Ideas?

I’ve been reflecting on how often we see “new” principles like SOLID pop up in technical interviews and documentation. But when you dig into the details — especially in Ruby — many of these ideas are already part of the classic OOP toolbox. [more inside]

Adding llms.txt to a Rails application

Large Language Models are everywhere and are getting better at understanding the web almost in real time. However, because of the size of their context windows, they might miss key information about websites amidst ads, scripts, banners, or other irrelevant content that isn’t about the actual information itself. That’s where the llms.txt file plays a role: it allows us to have a compressed version of our site or pages of our site in a format that LLMs easily understand: Markdown. In this article, we will learn how to add a llms.txt file to a Rails application and some best practices. [more inside]

🚿 Streaming CSV Data: Line-by-Line Processing Like Draining a Tank

Ever tried to drain a giant tank through a hose
 and instead of water, what comes out are endless lines of CSV — fields, commas, and all? That’s exactly how it feels to stream CSV data in real-world systems. [more inside]

Loading older posts