Topic

Ruby

Follow Ruby language developments, updates to Rails framework, and ecosystem libraries. Our digest tracks Ruby language changes, gem releases, and Ruby on Rails patterns from developer communities.

What this topic tracks

  • Language releases and proposals
  • Libraries, tooling, and ecosystem updates
  • Performance, idioms, and production lessons

Ruby · 31 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

I built Timeframe, our family e-paper dashboard

hawksley.org · 17 Feb

Hardware · Rails · Ruby

The author details a decade-long journey building Timeframe, a bespoke e-paper family dashboard.

After experimenting with Magic Mirrors and Kindles, the current system utilizes 25.3-inch Boox Mira Pro and Visionect displays. It integrates Ruby on Rails with Home Assistant to provide real-time updates for calendars, weather, and smart home sensor status effortlessly.

I converted an Android app to a webpage

danq.me · 9 Jul

Android · Cybersecurity · Ruby

The author critiques the 'app-only' approach for services better suited to the web, specifically regarding a travel itinerary app that includes invasive tracking and advertisements.

Using reverse-engineering, they intercepted API traffic, extracted the underlying JSON data, and created a lightweight, accessible web version that serves the same content without the bloat and privacy concerns.

Building from Zero After Addiction, Prison, and a Felony

gavinray97.github.io · 7 Jun

Career · Ruby · Open Source

Gavin Ray shares his journey from juvenile incarceration and drug addiction to building a successful career in software engineering.

Despite facing significant obstacles as a felon, he navigated personal recovery and leverage opportunities in open source to secure meaningful employment. His story serves as a reminder that with resilience and community support, individuals can overcome profound adversity.

we-promise/sure

github.com · 10 Nov

Rails · Ruby · Fintech

Sure is a community-maintained, fully working personal finance and wealth-management app forked from the abandoned Maybe Finance project.

It enables users to self-host their finances with Docker and access the app through browsers, macOS and mobile apps, API clients, and LLM agents. Its distinguishing features are an AGPLv3 license, community development, and deployment options with no AI, OpenAI-backed AI, or external AI assistants.

Ruby2ßhell: Pre-authentication RCE on stock Rails

verialabs.com · 19 Nov

Backend · Cybersecurity · Rails · Ruby

Ruby2ßhell is a one-byte heap overflow in Ruby’s case-conversion logic for several legacy single-byte encodings, affecting Ruby 2.4.0 through current vulnerable releases.

Upcasing each `ß` to `SS` can exceed an output buffer; 21 characters overflow it by one byte, followed by an out-of-bounds read. Rails and classic Sinatra are exposed by default, enabling pre-authentication impact, while UTF-8 is unaffected. Fixes are available in Ruby 4.0.10, 3.4.13, and 3.3.14.

RubyLLM: A single, beautiful Ruby framework for all major AI providers

rubyllm.com · 24 Jun

Artificial Intelligence · Large Language Models · Ruby

RubyLLM is a comprehensive, open-source Ruby framework that provides a unified interface for major AI providers.

It supports chatbots, AI agents, RAG, file analysis, and image generation. Designed for simplicity with minimal dependencies, it includes features like tool calling, structured output, and seamless Rails integration to streamline AI workflow development across diverse models.

Returning To Rails in 2026

markround.com · 5 Mar

Backend · Rails · Ruby

A seasoned developer explores Returning to Rails in 2026, highlighting Rails 8's improvements for side-projects.

The post praises the 'no-build' frontend approach with Hotwire, the simplified SQLite production-ready defaults, and the new Solid stack for caching and jobs. Despite shifting industry trends, the author argues Rails remains a joyful, highly productive framework for modern web development.

I no longer care to work on any Ruby gems so I've archived all my repositories

po-ru.com · 18 Oct

Ruby · Ethics

The author has archived all Ruby gem repositories and ended work on them, arguing that Ruby’s human-centered, creative ethos has given way to LLM-driven development.

Rails remains the dominant Ruby application, despite its control by DHH, whose views the author rejects, while Ruby itself is increasingly developed with LLM agents and promoted for the AI age. The author no longer wants to contribute human-written code to a commons mined to train systems that generate more code.

Spinel: Ruby AOT Native Compiler

github.com · 24 Apr

C · Programming Languages · Ruby

Spinel is a self-hosting compiler that transforms Ruby code into standalone native C binaries.

By using whole-program type inference and generating optimized C, it eliminates runtime dependencies and achieves significant performance gains, averaging 11.6x faster than standard CRuby on benchmarks. It supports a robust subset of Ruby, including Fibers, Bigint, and NFA regexps.

Long Live Rails

dev.to · 12 Nov

Backend · Performance · Rails · Ruby · Software Architecture

Rails remains a strong foundation because it combines Ruby conventions with native Rust performance inside one monolith.

In production, Forem replaced CPU-bound Ruby hot paths with an in-process Rust extension, cutting DEV page-load time by 75%; Markdown processing became roughly 54x faster and feed ranking 20x faster. Precompiled binaries mean users need no cargo. Rails 8.2 also adds a safe, read-only bin/rails query command for structured database inspection, replacing bespoke tooling for developers and coding agents.

Lisp's Influence on Ruby

blog.tacoda.dev · 11 Jun

Programming Languages · Ruby · Computer Science

Ruby’s design, heavily influenced by Lisp, prioritizes readability through functional concepts like closures, first-class functions, lazy evaluation, and expression-oriented design.

While Ruby is object-oriented, it utilizes these functional patterns to enable expressive, concise code, proving that object-oriented and functional paradigms can coexist effectively to solve complex programming problems.

Multiple vulnerabilities in Regexp and String case conversion

ruby-lang.org · 18 Nov

Cybersecurity · Ruby

Ruby has fixed seven vulnerabilities in its regular expression engine and string case conversion, including heap buffer overflows, double free, integer overflow, and out-of-bounds reads.

Some flaws have proof-of-concept exploits enabling remote code execution when processing attacker-controlled strings or regular expression patterns; another may disclose memory or crash processes. Affected versions are Ruby 3.3.13 and earlier, 3.4.0–3.4.12, and 4.0.0–4.0.9. Upgrade to 4.0.10, 3.4.13, or 3.3.14.

Rubish: A Unix shell written in pure Ruby

github.com · 23 May

Programming Languages · Ruby · Open Source

Rubish is a shell built in pure Ruby that is fully compatible with bash.

It integrates Ruby features directly into the shell, allowing users to mix shell commands with Ruby code using syntax like blocks, iterators, and method calls. It supports zsh-like features, provides a public API for programmatic access, and allows for efficient startup via lazy loading.

rails/rails

github.com · 6 Nov

Backend · Rails · Ruby

Ruby on Rails is a web application framework for building database-backed applications using the Model-View-Controller (MVC) pattern.

Its components include Active Record and Active Model for domain models and business logic, Action View for templates, and Action Pack for routing and controllers. Rails also provides libraries for email, background jobs, WebSockets, file attachments, rich text, and utilities; its components can be used independently, distinguishing it as a modular full-stack framework.

What Is Date:Italy?

aesthetikx.info · 16 May

Programming Languages · Ruby · Computer Science

Ruby's Date class uses Julian Day numbers to handle different historical calendar reforms.

Constants like Date::ITALY and Date::ENGLAND mark the Julian day of the Gregorian switchover for specific regions. These enable consistent date calculations across various historical 'old style' and 'new style' conventions, ensuring accuracy in date manipulation despite shifting global adoption standards.

Show HN: RatatuiRuby wraps Rust Ratatui as a RubyGem – TUIs with the joy of Ruby

ratatui-ruby.dev · 1 Jan

Ruby · Rust · TUI

RatatuiRuby is a high-performance RubyGem that wraps the Rust-based Ratatui library for creating Terminal User Interfaces (TUIs).

It offers developers native performance with Ruby's developer experience, supporting both inline viewports for preserved scrollback and full-screen applications, while featuring a built-in testing suite for headless terminal verification.

Ruby for Good

ti.to · 24 May

Ruby · Business · Open Source

Ruby for Good is an annual event in the Washington DC area where developers and designers collaborate over a weekend to build open-source projects for nonprofits.

The all-inclusive registration covers lodging, meals, and social activities, aiming to drive positive social impact through technology and communal coding efforts.

Optimizing Ruby Path Methods

byroot.github.io · 18 Apr

CI/CD · Performance · Ruby

The author shares their experience optimizing Ruby path methods and Bootsnap to improve CI performance at Intercom.

By analyzing and refactoring file system scanning and File.join implementations, the author achieved significant speedups, including the introduction of Dir.scan in Ruby 4.1 to avoid N+1 syscalls and optimizing File.join for faster path handling.

From Rust to Ruby

xlii.space · 26 May

Rails · Ruby · Rust

A developer successfully migrated a 15k-line Rust web project to Ruby on Rails using a local LLM.

The conversion resulted in a 77% reduction in codebase size and significantly simplified testing and boilerplate management. While Rust offers superior performance and type safety, the experiment highlights the productivity and maintainability benefits of Ruby on Rails for solo development.

How Cloudflare WAF protects against ruby2shell (CVE-2026-132825)

blog.cloudflare.com · 20 Nov

Backend · Cybersecurity · Ruby

Cloudflare WAF now blocks ruby2shell (CVE-2026-132825) for all customers, including the Free plan.

The flaw is a heap buffer overflow in Ruby’s legacy-encoding string case-conversion code, with potential pre-authentication remote code execution in default Rails and classic-style Sinatra applications. Rules also cover related integer overflow GHSA-87fm-7w84-j2px. Ruby fixes are in versions 3.3.14, 3.4.13, and 4.0.10. WAF is only compensating protection: upgrade runtimes, bundled products, and containers, while restricting origin access because non-HTTP and bypass traffic remains unseen.

Where it came fromHacker NewsLobstersGitHubRedditDev.toCloudflare BlogCreate a Snapbyte.dev digest and choose Ruby as one of your topics.Build your digest