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.

11 stories

Government Rails Site Hit Hours After CVE Patch

rietta.com · 4 Sept

Cybersecurity · Rails · Ruby

A critical Ruby on Rails ActiveStorage vulnerability (CVE-2026-66066) was exploited within hours of its patch, despite an embargo on technical details.

Rietta’s emergency updates protected a State government client; subsequent probing continued through August but failed. The incident underscores patching immediately on security releases, monitoring after deployment, testing, upload hardening, dependency scanning, WAFs, and incident-ready approvals.

I'm Not on the DEV Team. I Still Debugged Their Missing Badges From Public Code. (And My First Test Was Wrong.)

dev.to · 24 Oct

Rails · Ruby

Using only the public `forem/forem` repository and DEV’s badge catalog, a contributor diagnosed why multi-commit contributor badges were not awarded and shipped merged PR #24113.

The service used mismatched badge slugs, omitted context messages, and lacked idempotent creation. The fix added messages, `first_or_create`, and missing-slug logging. Code review also exposed a flawed regression test: it passed on `main` because uniqueness validation hid duplicate creation, so the test was corrected to use `allow_multiple_awards: true`.

Fighting Spam at Scale: How We Use Gemini to Protect the DEV Community

dev.to · 22 Jan

Artificial Intelligence · Ruby · Open Source

The DEV platform and Forem ecosystem have implemented a sophisticated hybrid spam detection system to combat low-quality content and prevent moderator burnout.

By combining upstream algorithmic detection with AI analysis through Gemini 3, the system automates the removal of obvious junk while preserving nuanced community interactions. The technical implementation involves a Ruby service called ContentModerationLabeler, which sends both article text and user metadata—including account history and badge counts—to the LLM for context-aware assessment. This approach has led to a significant decrease in spam attempts as automated scripts encounter higher barriers to entry. The project remains open-source, allowing the community to inspect and contribute to the moderation logic, which balances safety, content quality, and authenticity to maintain a healthy software development community.

Should RubyGems/Bundler Have a Cooldown Feature?

dev.to · 19 Mar

Cybersecurity · Ruby · Software Architecture

RubyGems maintainer Hiroshi Shibata discusses adding an optional 'cooldown' period for new package installations to mitigate supply chain attacks.

While cooldowns offer researchers time to detect malicious code, they are not a silver bullet. Future plans include opt-in cooldown features, enhanced server-side security scanning metadata, and improved verification processes during the gem installation pipeline.

Living in the Weimar era of Ruby

blog.julik.nl · 12 Oct

Backend · Rails · Ruby

The Ruby ecosystem is entering a renaissance after Rails leadership lost interest, because AI-assisted development lowers the cost of fixing long-standing gaps.

New libraries such as sghtmltopdf, stationery, herringbone, and async-grpc address PDF, Parquet, and gRPC needs, while work on Qt, Scarpe, performance, and concurrency expands Ruby’s capabilities. Filtered RubyGems data shows about 8,900 organic new gem names in the latest year versus 4,600 previously, nearly 1.9 times more. The community can now improve Ruby without waiting for permission.

Hanami, Why?: Introductions

aaronmallen.me · 30 Sept

Ruby · Software Architecture · Open Source

This introduction presents Hanami, a Ruby web framework chosen as a flexible alternative to Rails.

The author explains its small, single-purpose abstractions—Actions, Relations, Repos, and Operations—alongside dependency injection, typing, and result handling. Hanami enables modular applications but requires more custom development and offers fewer existing resources, balanced by strong community support.

It's not the YAML spec's fault, but

slugcat.systems · 10 Sept

Programming Languages · Python · Ruby

The article investigates YAML’s implicit typing controversy, arguing the spec allows application-specific resolution and intended strings by default.

The real failure was inconsistent library implementations, especially Syck in Ruby and PyYAML, which normalized “The Norway Problem.” YAML 1.2 improves defaults, but support remains uneven. It concludes YAML is usable when deserialization follows application models, but standards need stronger implementation oversight.

Four months of Ruby Central moving Ruby backward

andre.arko.net · 3 Mar

Ruby · Ethics · Open Source

A former maintainer details a governance crisis involving Ruby Central, alleging the organization illegitimate took control of Bundler and RubyGems.

The post claims Ruby Central violated long-standing policies, ousted veteran maintainers without explanation, and issued legal threats. It calls for community accountability and a shift toward alternative tools like gem.coop and jwl.

TruffleRuby 33 is Released

truffleruby.dev · 13 Jan

Performance · Ruby · Open Source

TruffleRuby 33.0.0 has been released, introducing a new versioning scheme that aligns with Ruby major versions for better clarity.

This release features a sophisticated, thread-safe Hash implementation that allows parallel reads and writes with zero overhead for single-threaded instances, effectively eliminating common concurrency bugs. Installation has been significantly streamlined; by removing dependencies on system libssl and libyaml, TruffleRuby is now one of the fastest Ruby implementations to set up via binary downloads. Additionally, the project has transitioned to a fully open-source model on GitHub, independent of Oracle's sponsorship, enabling faster development cycles, easier community contributions, and simplified embedding for Java applications via Maven Central.

Lobsters Interview with matheusmoreira about Lone Lisp

alexalejandre.com · 17 Jul

C · Linux · Ruby

Matheus Moreira, a physician and hobbyist programmer, details his journey from learning C++ to building Lone Lisp, a language running on Linux syscalls without libc.

He emphasizes the benefits of freestanding code, such as removing C legacy issues, and advocates for user ownership of the entire technology stack to combat limited, appliance-like computing.

Where it came fromLobstersDev.toHacker NewsCreate a Snapbyte.dev digest and choose Ruby as one of your topics.Build your digest