Fall in Love with RSpec Again

For Ruby developers, RSpec is more than just a testing framework; it’s a way to describe the behaviour of our applications with clarity and precision. Well-written tests not only ensure our code works as expected but also serve as living documentation. However, as test suites grow, they can become slow,…

0 Comments

Solid Queue: The New Database-Backed Jobs for Rails

  With Rails 8 introducing Solid Queue as the default queuing backend for Active Job, this modern background processing system deserves a proper examination. In this post, I'll share what I've learned about this new job solution from Rails team, how it compares to other solutions like Sidekiq, and why…

0 Comments

Prompt Engineering: Unlock the Power of AI

In recent years, artificial intelligence has transformed the way developers interact with code and automate various tasks. Tools such as GitHub Copilot and Google’s Gemini have made it easier to generate code, debug issues, and even assist with documentation. However, the effectiveness of these tools depends greatly on how well…

0 Comments

Queue Fusion: Unleashing Multithreading Magic with Ruby

Introduction Motivation for this post is to let people know things about designing concurrent queue. A queue is a fundamental data structure that follows the First-In-First-Out (FIFO) principle. It represents an ordered list of elements where the addition of new elements (enqueue) occurs at the rear, and removal of existing…

0 Comments

End of content

No more pages to load