Tutorials
The librdkafka Supply Chain Breakdown: rdkafka Darkest Hour
We all make mistakes, and fundamentally, the havoc caused by this incident was due to a flaw in the design of rdkafka-ruby. While the disappearance of librdkafka from GitHub was unexpected, this article aims to clarify and explain how rdkafka-ruby...
Add a “X is writing…” with Rails and Turbo | Rails Designer
Apps that rely heavily on text messaging (like Slack, Whatsapp and Telegram) often implement some kind of indication or status if the other party (in the chat room) is typing.This kind of UX might be useful for engagement or set expectations. Base...
Rails Adds SKIP_TEST_DATABASE_TRUNCATE Flag To Speed Up Multi Process Test Runs | Saeloun Blog
Rails truncates (clearing out) the tables in our test database before running tests to ensure that each test starts with a clean state, free from any data left over by previous tests.While this ensures test isolation, it can also introduce signifi...
Exercise: Minesweeper in 100 lines of clean Ruby | Radan Skorić's personal site
Ruby is such an expressive language. You can often do surprisingly much with just a few lines of code. It’s why I find it so satisfying to think about how to accomplish the same thing in fewer lines of Ruby1.I want to be clear: I am not talking ab...
Puma-dev And Using It With Rails Applications. | Saeloun Blog
Puma is a modern, concurrent web server for Ruby and Rack applications. Designed with speed and simplicity in mind, Puma is known for its ability to handle multiple requests simultaneously, making it a popular choice for serving Ruby on Rails appl...
Code Master Blog: Todo MVC Ruby Edition Is the One Todo MVC To Rule Them All!!!
Todo MVC is a popular sample that is built in all Web Frontend Frameworks to provide a comprehensive SPA (Single Page Application) example covering all basic Frontend features. As such, it provides Software Engineers with a very good idea of how d...
Instantiate a custom Rails FormBuilder without using form_with | justin․searls․co
I'm building a Rails app using Tailwind, which works really well for almost everything out-of-the-box except forms, because—unless you relish the idea of repeating the exact same list of CSS classes for each and every field in your app—you're goin...
Upgrading from Solidus 2 to Solidus 3 | Super Good Software
I recently had the pleasure of upgrading a long-running e-commerce storefront from Solidus 2.11 to Solidus 3.0. Solidus is a free and open-source e-commerce platform, silently helping thousands of stores turnover hundreds of millions in revenue ea...