Non-tech founder’s guide to choosing the right software development partner Download Ebook
Home>Blog>Longreads

Longreads from the Rocketship

Categories:
Islam Gagiev
Islam Gagiev
longreads /

Building a resilient AI Client in Ruby with Stoplight and Ruby_LLM

Calling external AI providers (like OpenAI, Gemini, or Claude) is a common task in modern web applications. However, these services can sometimes be slow, return errors, or become completely unavailable. This can lead to cascading failures that bring your entire application down. To prevent this, you can use the Circuit Breaker pattern, which isolates failing services and even allows for a graceful failover to a backup provider. In Ruby, the stoplight gem provides a straightforward way to implement this pattern and build a resilient client, in this article we will use it with ruby_llm to handle AI providers. To see this implementation in action and explore the details, be sure to check out the repository containing the code examples used in this article.
Alexey Solilin
Alexey Solilin
longreads /

CSS Scroll Snap for Overflow Elements

Creating smooth, native-feeling horizontal tab navigation is essential for modern web applications. CSS Scroll Snap provides an elegant solution that ensures your tabs feel polished and intuitive across all devices, with special attention to mobile touch interactions.

Alexey Solilin
Alexey Solilin
longreads /

Async Modal on Rails with Native <dialog> Element

In this post, I'll show you how to create asynchronous modal windows in Rails using Turbo Frames and the native <dialog> element. This approach combines the power of Rails' Hotwire stack with modern web standards to create smooth, accessible modal experiences without heavy JavaScript frameworks. We'll build a complete example using a login form that loads dynamically and displays in a native dialog with proper focus management and backdrop handling.

Natalie Kaminski
Natalie Kaminski
longreads /

Are AI Coding Assistants Saving Developers Time or Creating Technical Debt?

Over the past several months, our engineering team has been running structured experiments with AI coding assistants like Claude, Copilot, and others across real projects.
The goal was simple: understand where these tools truly add value, and where they fall short.
The results? A mix of magic, frustration, and important lessons for anyone serious about building long-term, maintainable software.

Let's Build Something Great Together

Let's discuss your project and explore how a Rails upgrade can become your competitive advantage. Contact us today to start the conversation.

*By submitting this form, you agree with JetRockets’ Privacy Policy