RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Static typing in Ruby only works if type narrowing reflects how we actually write Rub

https://rubystacknews.com/2026/02/02/introducing-type-guard-to-steep/

This article is based on a RubyKaigi 2025 talk and explores Type Guard in Steep: how union types, framework predicates like present?, and user-defined methods can participate in real type narrowing.

If you use Steep in Rails—or tried and hit its limits—this dives into what changed, why it matters, and how it works under the hood.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in