Tutorials

Hidden feature of Turbo: stream actions inside regular HTML | Radan Skorić's personal site
Turbo stream actions are a central feature of Turbo, allowing for control of the webpage from server side. In essence, turbo stream actions are a piece of custom HTML markup that Turbo has a special way of interpreting as an action to execute rath...

How We Used a Custom Enumerator to Fix a Production Problem
It runs a Microsoft SQL Server query that returns an array of property IDs. In Ruby, arrays implement the Enumerable interface by default, so we can use the rich assortment of Enumerable methods to iterate over them.Other methods from the same cla...


Running Solid Queue in production Rails apps - Honeybadger Developer Blog
Solid Queue is a new backend for ActiveJob. It was announced at Rails World, along with Solid Cache. Like Solid Cache, Solid Queue moves away from memory solutions like Redis and towards the database. Solid Queue takes advantage of speed increases...

A short guide to mastering keyboard shortcuts on GitHub - The GitHub Blog
💡 Master the shortcuts. You might be asking, how can I access said shortcuts? Simply by typing “?” on any Github page!* These shortcuts will empower you to perform various actions across the site without relying on your mouse.🔧 Customize your expe...




Enhancing Rails Log Output with SQL Query Count | Saeloun Blog
Rails developers often faced challenges optimizing performance due to logs that lacked detailed SQL query information.This made it difficult to identify specific performance bottlenecks, as the logs only provided general data on database interacti...

Refactoring for Readability in Ruby: a Showcase - DEV Community
My personal solution to this: write the code as readable as possible from the very beginning. The key skill to do this is an ability to recognize levels of abstraction in your code. Once properly recognized, they can be isolated from each other, w...