---
title: "Ruby 3.1.1 released"
publication: "Ruby Weekly"
issue: 592
published_at: "2022-02-24"
canonical_url: "https://rubyweekly.com/issues/592"
---

Plus a podcast episode with Cucumber's Alsak Hellesøy on TDD and BDD. |        

#​592 — February 24, 2022 

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

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/b0f8eck0mhujqsjjy298.jpg)](https://www.ruby-lang.org/en/news/2022/02/18/ruby-3-1-1-released/)  

[Ruby 3.1.1 Released (But It's a Small One)](https://www.ruby-lang.org/en/news/2022/02/18/ruby-3-1-1-released/) — It’s the first ‘teeny’ release of Ruby 3.1 meaning it’s basically a big grab bag of bug fixes (including of one that [broke](https://bugs.ruby-lang.org/issues/18453) collection caching in Rails), tweaks, and minor updates (e.g. RubyGems 3.3.7). 

Yui Naruse   

[How and Where Are Rails Developers Deploying Rails Apps in 2022?](https://twitter.com/RubyInside/status/1495801042994401282) — Over on Twitter, we decided to ask our followers how they’re deploying their Rails apps nowadays and got over 110 replies! Heroku, Render, AWS, and using Capistrano to VPSes or bare metal all made multiple appearances – there is truly no one best way. 

Ruby Inside on Twitter   [![\](https://copm.s3.amazonaws.com/4ac2bbb1.png)](https://blog.appsignal.com/2022/01/05/next-level-ruby-on-rails-application-monitoring-with-appsignal.html?utm_source=ruby-weekly-sponsored&utm_medium=email&utm_campaign=2022-01-05) 

[Next Level Ruby on Rails Application Monitoring with AppSignal](https://blog.appsignal.com/2022/01/05/next-level-ruby-on-rails-application-monitoring-with-appsignal.html?utm_source=ruby-weekly-sponsored&utm_medium=email&utm_campaign=2022-01-05) — Let’s run through adding custom instrumentation and monitoring to a Ruby on Rails application. This will give you deeper insights into how your application is behaving. 

AppSignal sponsor   

[Rails Adding Support for Fiber-Safe ActiveRecord ConnectionPools](https://blog.saeloun.com/2022/02/23/rails-fiber-safe-connection-pools.html) — Rails uses threads for database connections but now there’s a PR that switches the connection pool to use fibers, but there’s still a lot of work to do here. 

Swaathi Kakarla   

**IN BRIEF:** 

- Reader Harry Lascelles pointed out the UK government said its [GOV.UK](https://gov.uk/) system is made up of around 70 apps mostly built with Rails – [here's their approach to testing them.](https://technology.blog.gov.uk/2021/10/08/a-new-standard-of-testing-for-gov-uk/)
- Shopify had [a popular Twitter thread](https://twitter.com/ShopifyEng/status/1493608793950896131) asking for people to share their favorite Ruby related tools.
- [RubyGems 3.3.8](https://blog.rubygems.org/2022/02/23/3.3.8-released.html) has been released.
- Not Ruby specific, but this [tutorial on using trigram indexes for text search in Postgres](https://alexklibisz.com/2022/02/18/optimizing-postgres-trigram-search.html) is so neat I had to share, especially given how many Rubyists are Postgres users too.     

Jobs  

[Engineering Positions at Vanilla (Remote/Rails/React)](https://www.justvanilla.com/careers?utm_medium=email&utm_source=Cooper-Press) — Hiring across a variety of engineering & product positions. We’re a digital estate planning platform that allows financial advisors to unlock value for clients and prospects alike. 
Vanilla   

[Fully Remote Software Engineering Opportunities at SimpleNexus](https://www.simplenexus.com/careers/) — Join a collaborative team of software engineers working remotely in a dynamic Ruby on Rails environment at SimpleNexus today. 
SimpleNexus   

[Find Ruby Jobs Through Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-rubyweekly%29&utm_content=find-your-next-job) — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. 
Hired    

📕 Articles & Tutorials  

[Changing A `polymorphic_type` in Rails](https://shopify.engineering/changing-polymorphic-type-rails) — A look at how a team at Shopify changed how they store one of the polymorphic associations in the Shopify codebase. It’s interesting to see this sort of tweaking of a real world, established system. 

Diego Gilon (Shopify)   

[An Introduction to the ViewComponent Gem](https://www.honeybadger.io/blog/ruby-view-components/) — An in-depth look at the popular [ViewComponents](https://viewcomponent.org/) gem that looks to bring a React-type component approach to Rails views, making them isolated and testable. 

Abiodun Olowode (Honeybadger Developer Blog)   

[Why One of the Creators of Crystal Loves Ruby](https://dev.to/asterite/why-i-love-ruby-part-1-20h2) — One of the creators of [Crystal](https://crystal-lang.org/) (a Ruby-inspired but statically typed and compiled language) pens six posts on the parts of Ruby that inspired him as he designed a new language. 

Ary Borenszweig   

[Complete Peace of Mind Rails Hosting](https://www2.reinteractive.com/opscare-hosting) — If you need hands-off, rock solid hosting for your Rails app, OpsCare is for you. We keep your app running, 24 hours a day, 7 days a week with a worldwide team. 

OpsCare by reinteractive sponsor   

[Why and How to Start with the System Ruby Modular Packages (on Red Hat-esque Distros)](https://nts.strzibny.name/ruby-modular-packages/) — Fedora and other Red Hat derived distros now offer modular packages so you can install, for example, different versions of Ruby without a separate version manager. 

Josef Strzibny   

[How to Get an Engineering Internship at Shopify](https://shopify.engineering/shopify-engineering-internship-guide) — As one of the world’s biggest Ruby shops (if not _the_ biggest?) this may be of interest if you’re early in your career. 

Nathaniel Quarrie (Shopify)   

▶[Cucumber's Founder Aslak Hellesøy on TDD and BDD](https://semaphoreci.com/blog/aslak-hellesoy-cucumber) 
Semaphore Podcast podcast   

▶[String-Based Templates vs DSLs: The Pros and Cons of Each](https://www.fullstackruby.dev/podcast/3/) 
Jared White podcast  

🛠 Code & Tools  

[Strings::Truncation 0.1.0: Truncate Strings with Fullwidth Characters and ANSI Codes](https://github.com/piotrmurach/strings-truncation) — If you need to shorten/cutoff some strings, you might want to consider this gem for your toolkit. 

Piotr Murach   

[rack-mini-profiler 3.0: A Profiler for Rack Apps in Dev or Production](https://github.com/MiniProfiler/rack-mini-profiler) — A popular piece of middleware that adds a ‘speed badge’ to pages in your app to show off database, call-stack and memory profiling data. 

Sam Saffron et al.   

[pg-osc: Zero Downtime Schema Changes in Postgres](https://www.shayon.dev/post/2022/47/pg-osc-zero-downtime-schema-changes-in-postgresql/) — pg-osc is a tool (written in Ruby) for making non-blocking, zero downtime schema changes by way of ‘shadow tables.’ This post provides a quick introduction. [GitHub repo](https://github.com/shayonj/pg-osc). 

Shayon Mukherjee   

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

Shortcut (formerly Clubhouse.io) sponsor   

[Active Record SQL Server Adapter 7.0: The SQL Server Adapter for Rails](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter) — For SQL Server 2012 and newer. 

Rails SQL Server   

[Chewy: A High-Level Elasticsearch Framework](https://github.com/toptal/chewy) — An ODM and wrapper for working with Elasticsearch in a more idiomatically Ruby, developer-friendly way. 

Toptal   

[Mongoid 7.3.4: Ruby ODM Framework for MongoDB](https://github.com/mongodb/mongoid) 
MongoDB         

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
