---
title: "RIP Ruby 2.6"
publication: "Ruby Weekly"
issue: 597
published_at: "2022-03-31"
canonical_url: "https://rubyweekly.com/issues/597"
---

Plus another look at Sorbet, a Ruby powered game, and parallel testing. |        

[🇺🇦](https://war.ukraine.ua/) #​597 — March 31, 2022 

[Read on the Web](https://rubyweekly.com/issues/597)   

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/bbn87jkbaxdtrwdejfxe.jpg)](https://stripe.com/blog/sorbet-stripes-type-checker-for-ruby)  

[On Sorbet, Stripe’s Type Checker for Ruby](https://stripe.com/blog/sorbet-stripes-type-checker-for-ruby) — [Sorbet](https://sorbet.run/) isn’t new (it was [open sourced](https://sorbet.org/blog/2019/06/20/open-sourcing-sorbet) in 2019) but Stripe is keen to share its successes with it and tell the story of why it's used over their entire Ruby codebase – some 15 million lines of code. Maybe it’s time to give it a try, if you haven’t yet? 

Jake Zimmerman (Stripe)   

[How to Use Active Record in a _Library_](https://postmodern.github.io/blog/2022/03/28/howto-use-activerecord-in-a-library.html) — (or, more broadly, ‘not in a Rails app!') — While there are extensions to bring Active Record into things like Sinatra or Roda, what if you want to use AR in regular Ruby projects without any embellishments? It’s more work than you’d hope, but quite doable. 

Postmodern   [![\](https://copm.s3.amazonaws.com/addb66ee.png)](https://get.mux.com/3mwSSfL) 

[Video for Ruby: Build Video in Just Two API Calls](https://get.mux.com/3mwSSfL) — Mux is API-first video infrastructure for developers. Live and on-demand video stream beautifully to any device, plus analytics are built-in so you can track engagement. 

Mux sponsor   

**IN BRIEF:** 

- 🪦 Despite being under four years old, [Ruby's 2.6 branch is,](https://www.ruby-lang.org/en/downloads/branches/) as of today, considered 'end of life' meaning it's _"not supported by the ruby-core team any longer and does not receive any fixes."_
- [Passenger 6.0.13](https://blog.phusion.nl/2022/03/29/passenger-6-0-13/) has been released, adding support for Rocky Linux, Alma Linux, and FreeBSD 13.
- [Registration for RailsConf 2022](https://railsconf.org/register) is open with both in-person (Portland, Oregon) and virtual (your place!) ticket options.   

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/dcexjzfpelm6hrbqlpnj.jpg)](https://victords.itch.io/sokoadventure)  

[SokoAdventure: A Ruby Powered Sokoban-Style Game](https://victords.itch.io/sokoadventure) — Push blocks, unlock doors, avoid enemies.. certainly more of a challenge than most Ruby programs ;-) The [source is here](https://github.com/victords/sokoadventure) and uses [MiniGL](https://github.com/victords/minigl) and Gosu for rendering. If this gives you any hankering to do some gamedev of your own, the [Ludum Dare game jam](https://ldjam.com/) is on _this weekend_. 

Victor DS   

[Mastodon 3.5: The Federated, Ruby-Powered Twitter-a-Like](https://blog.joinmastodon.org/2022/03/mastodon-3.5/) — The popular Rails-based ‘microblogging’ system continues to improve and has now gained a feature even Twitter doesn’t have.. the ability to edit posts! [GitHub repo](https://github.com/mastodon/mastodon) and [release notes](https://github.com/mastodon/mastodon/releases/tag/v3.5.0). 

Mastodon Team     

Jobs  

[AI & Software Engineers](https://www.stickermule.com/careers) — Sticker Mule is the Internet's most "kick ass" brand. Our software team operates from 17 countries, and we're always looking for more exceptional engineers. 
Sticker mule   

[Backend Engineer – Ruby on Rails (London or Remote)](https://www.ctrl-group.com/careers/backend-engineer) — Ctrl Group builds digital health products to bring personalised health care to everyone. [Apply now](https://www.ctrl-group.com/careers/backend-engineer) to join our brilliant team. 
Ctrl Group   

[The Freedom of Freelance with the Security of Full-Time](https://topt.al/JBcem2) — Top developers join Toptal for a flexible schedule, more free time, and great opportunities. [Apply now](https://topt.al/JBcem2). 
Toptal    

📕 Articles & Tutorials  

[Reducing Leaky Abstractions Introduced by Active Record](https://thoughtbot.com/blog/reducing-leaky-abstractions-introduced-by-activerecord) — A demonstration of using a class method to tidy things up when you’re not quite ready to go all the way to creating [query objects](https://thoughtbot.com/blog/active-record-eager-loading-with-query-objects-and-decorators). 

Josh Clayton   

[Switching From `.env` Files to Rails Credentials](https://thoughtbot.com/blog/switching-from-env-files-to-rails-credentials) — Formerly known as _secrets_, ‘credentials’ provide a way to store secrets within a Rails app in a safe manner. 

Marina Joranhezon   

[Five Tips to Design Transactions in Rails the Right Way](https://blog.appsignal.com/2022/03/30/5-tips-to-design-ruby-on-rails-transactions-the-right-way.html) — Transactions are a fundamental part of maintaining data integrity, but add another level of complexity that can introduce problems into your app. 

Paweł Dąbrowski   

[A Rubyist's Walk Along the C-side (Part 8): Exceptions and Error Handling](https://blog.peterzhu.ca/ruby-c-ext-part-8/) — Peter is back with the latest sea-front outing in his rather technical series on writing or working with C-based Ruby extensions. 

Peter Zhu   

[Project Management for Software Teams Has Never Been Easier](https://shortcut.com/?utm_source=cooperRubyWeekly&utm_medium=spon_nl&utm_campaign=prospecting&utm_content=easy) 

Shortcut (formerly Clubhouse.io) sponsor   

▶[An Hour's Interview with David Heinemeier Hansson](https://www.codewithjason.com/podcast/10325716-139-david-heinemeier-hansson/) — If you want a Rails or code heavy show, this one isn’t for you as it focuses more on topics like motor racing, politics, and the pros and cons of Twitter. 

Code with Jason Podcast podcast   

[Rails 7's Support for Deferrable Foreign Key Constraints in Postgres](https://blog.saeloun.com/2022/03/30/rails-7-postgres-fk-deferred.html) 
Murtaza Bagwala  

🛠 Code & Tools  

[`after_commit` Everywhere: Use Active Record Transactional Callbacks Outside of Models](https://github.com/Envek/after_commit_everywhere) — Not just outside of Active Record models but, well, anywhere in your app. Check the examples in the README to get the idea. 

Andrey Novikov   

[ParallelTests 3.8: More Cores == Faster Tests](https://github.com/grosser/parallel_tests) — Speed up `Test::Unit`, RSpec, Cucumber, or Spinach by running in parallel across multiple cores. With 3.8, support is dropped for Ruby 2.5 and 2.6 but improved for 3.0 and 3.1. 

Michael Grosser   

[“POST a JSON Payload” and You’re Done with Webhooks Right?😬](https://www.hookrelay.dev/?utm_source=ruby_weekly) — Wrong! Hook Relay gives you reliable inbound and outbound webhooks with debugging in minutes. Learn why you need it now. 

Hook Relay sponsor   

[Jekyll 3.9.2 Released](https://jekyllrb.com/news/2022/03/27/jekyll-3-9-2-released/) — Say hello to Ruby 3.0 and 3.1 support in the popular static site generator. 

Jekyll Core Team   

[Down 5.3: Streaming HTTP Downloads with `net/http`, `http.rb` or `wget`](https://github.com/janko/down) — If you need to download files from Ruby, this offers a more resilient option than most usual HTTP clients by letting you stream downloads or even call out to `wget` 

Janko Marohnić   

[Avo 2.0: An Admin Panel/Dashboard System for Rails Apps](https://avohq.io/) — Powered by Hotwire. Commercial but the [source available](https://github.com/avo-hq/avo) version can be used for noncommercial purposes for free. 

Avo   

[Parallel: Parallel Processing Made Simple and Fast](https://github.com/grosser/parallel) — Uses processes, threads, or Ractors (Ruby 3.0+ only) to cover all bases. 

Michael Grosser   

[Thanos: A Prototype Ruby to Go Transpiler](https://github.com/redneckbeard/thanos) — Very early days here but I like the idea (yes, we have [a sister Go newsletter](https://golangweekly.com/)). 

Jonathan Paul Lukens   

[sidekiq-limit_fetch 4.0: Sidekiq Strategy to Support an Advanced Queue Control](https://github.com/deanpcmad/sidekiq-limit_fetch) 
Dean Perry   

[Fae 2.2: A Rails CMS Engine](https://github.com/wearefine/fae) 
FINE   

[Prometheus Instrumentation Library for Ruby Apps v4.0](https://github.com/prometheus/client_ruby) 
Prometheus         

Curated by [Peter Cooper](https://twitter.com/peterc), [Glenn Goodrich](https://twitter.com/ruprict) and [Cooperpress](https://cooperpress.com/). 

[Change your email address](https://rubyweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://rubyweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
