Tutorials


Composite primary keys in Rails - Honeybadger Developer Blog
Primary keys are vital in the design of a relational database. They are crucial in uniquely identifying records.For example, if you have a table of users, you will need to identify each record uniquely. This is where primary keys are used. Primary...


Headless Chrome Ruby - Conquering Automation with Ferrum | Shakacode
Ferrum, affectionately dubbed the Headless Chrome Ruby API, is a gem that allows Ruby programmers to interact with Chrome and Chromium browsers in a simple, efficient, and protocol-driven manner. Unlike Selenium, which relies on WebDriver and exte...

Migrating From Dokku to Kamal: Scheduling Cron Jobs
This is the third post of the series "Migrating From Dokku to Kamal" and today I am gonna show you how I've set cron with Kamal, click here to read the second post of the series in case you've missed it.I needed a way run periodic tasks on Kamal t...

Self-hosted observability stack for Ruby on Rails apps | Michal Kazmierczak
Observability is becoming a standard. Cloud observability providers deliver a high-end solutions for the storage and visualization of the telemetry data. Yet, application owners may consider an entirely in-house approach. Here is how you can achie...




How to Process a Turbo Stream Response in JavaScript using Stimulus
TL;DR: If you want to process (append, replace, etc.) a Turbo Stream response received from a fetch request in JavaScript, simply render the stream HTML with Turbo.renderStreamMessage(html) and let Turbo take care of it, instead of manipulating th...