Ruby WebSockets made practical: learn websocket-ruby, ActionCable, and async-websocket for real-time chat, notifications, and live dashboards across any stack.
Latest guides
View all →- Ruby WebSockets: Building Real-Time Features with ActionCable rubyguides.dev/guides
- The Builder Pattern in Ruby: Step-by-Step Object Assembly rubyguides.dev/guides
Learn to implement the builder pattern in Ruby for cleaner step-by-step object construction with fluent interfaces, nested structures, and inline validation.
- The Command Pattern in Ruby: Encapsulating Actions as Reusable Objects rubyguides.dev/guides
Implement the command pattern in Ruby — encapsulate requests as objects, enable undo/redo, queue operations, and build extensible CLI apps.
- Ruby array methods: map, select, reduce, and more rubyguides.dev/guides
Learn the 7 Ruby array methods you will use every day: map, select, reduce, find, sort_by, uniq, and flatten. Practical patterns and real examples included.
- ActiveSupport Outside of Rails rubyguides.dev/guides
Use ActiveSupport outside of Rails: cherry-pick core extensions, time utilities, and number helpers for plain Ruby scripts and gems without the full framework
Reference
View all →| Name | Section | Description |
|---|---|---|
Ruby keyword: until | Keywords | Ruby's until keyword loops while a condition is false. Block form, modifier form, begin/end variant, return value, and break/next/redo interaction. |
Ruby keyword: while | Keywords | Ruby's while keyword loops while a condition stays true. Syntax, modifier form, begin/end variant, return value, and break/next/redo interaction. |
Ruby keyword: when | Keywords | Ruby when clause inside case: === matching, multiple patterns per when, then/else, regex/range/module/proc matchers, and how it differs from if. |
Ruby keyword: case | Keywords | Ruby case expression: subject form vs no-subject form, === matching, multiple when values, then/else, return value, common gotchas. |
Ruby keyword: if | Keywords | Ruby if expression: syntax for if, elsif, else, ternary, and modifier-if forms, with truthy rules and return value behavior. |
Ruby keyword: unless | Keywords | Ruby unless expression: block form, modifier form, else rules, truthy/falsy rules, return value, and common parser gotchas. |
Tutorial series
View all →Latest articles
View all →- Why Ruby docs benefit from small object-focused examples rubyguides.dev/articles
Ruby docs teach better when examples stay close to objects, messages, and visible return values, with short code that keeps the reader on track.