Writing a Ractor-Based TCP Server— Ractor is an actor-like mechanism for getting true parallel execution support in Ruby without any thread safety concerns. An initial implementation has been merged into the main Ruby branch and people are starting to play such as with this attempt at creating an HTTP server. Richard Schneeman’s Twitter thread about ractors is also interesting. The future is coming! Kir Shatrov |
Sinatra v2.1.0 Released— Believe it or not, it’s over three years since Sinatra 2.0 dropped, so a 2.1 is a big deal 😁 The popular web application DSL has dropped Ruby 2.2 support, and moved from Thin to Rainbows for the dev-side HTTP server environment, plus a variety of smaller things. Sinatra |
![]() Redis 6.0 on RedisGreen— SSL encryption, key size tracking, memory mapping, online upgrades, and more. RedisGreen sponsor |
ℹ️ Interested in running a job listing in Ruby Weekly? There's more info here. ▶ Using GitHub Actions with a Rails App— GitHub Actions provides a way to automate software workflows in the cloud and this 13-minute screencast covers the basics of setting it up with a Rails app for automated testing, code coverage checking, etc. Drifting Ruby |
A Q&A with Sandi Metz— We talk to the author of Practical Object-Oriented Design in Ruby and 99 Bottles of OOP. You may have seen this in issue 516. Glenn Goodrich |
Behavior-Driven Test Data— Most of us truncate the database after a test, but what if we saved that data as input to subsequent tests? Turns out, that could be useful. Tom Rothe |
Elixir Is Not Ruby. Elixir Is Erlang— Elixir is an interesting language that looks somewhat like Ruby but built on top of the Erlang VM. It looks enough like Ruby that we’re often asked to include Elixir tutorials in this newsletter, but it’s a whole different beast 😁 Preslav Rachev |
|