Tutorials

Create a macOS-inspired stack UI with Stimulus and Tailwind CSS | Rails Designer
The other day I accidentally enabled the “fan” option in my dock’s application folder (I have it normally set to just “list”). But this incident inspired me to recreate the effect in Rails with a simple Stimulus controller and lots of Tailwind CSS...

Joy of Rails | Sending Web Push Notifications from Rails
An embedded Web Push demo and deep dive recipe for Web Push notifications for a Ruby on Rails application in advance of Rails 8 Action Notifier.You may have heard news: Rails 8 will extract a new framework for Web Push in Rails. Web Push notificat...

Persistent Connections in Ruby: Streaming Bodies, SSE, and WebSockets with Rack | DevelClan
HTTP was born with a request/response model: the client opens a connection, sends a request, the server responds, and the connection closes. This works for most web pages but falls short when handling real-time data (notifications, dashboards, cha...

The /o in Ruby regex stands for “oh the humanity!” - JP Camara
Hi there! Do you like Regex? Do you like performance? Do you like creating confounding bugs for yourself rooted in the mechanics of the Ruby VM itself?
If you said yes to all of the above, have I got a feature for you!
But first, let’s start wit...


Persistent Connections in Ruby: Streaming Bodies, SSE, and WebSockets with Rack | DevelClan
Learn how to implement persistent connections in Ruby using Rack, from streaming bodies and Server-Sent Events (SSEHTTP was born with a request/response model: the client opens a connection, sends a request, the server responds, and the connection...



Caching Rendered PDFs in Rails with Active Storage - Harisankar P S | Ruby on Rails Developer
As I was working on easyclientlog.com, building its invoice system that allows freelancers/consultants to generates PDFs. Working with PDF generating is that, its takes time and CPU cycles. But most of the time the pdf only needs to be generated o...

Add a multi-step form/wizard to your Rails app | Rails Designer
Over the years there have been many an article that suggest shorter forms have a positive impact on user experience (UX). Aside from a better experience, having shorter forms also means collecting less data on your users. Good for your users, good...