---
title: "Everything new in Ruby 3.2"
publication: "Ruby Weekly"
issue: 640
published_at: "2023-02-09"
canonical_url: "https://rubyweekly.com/issues/640"
---

Plus a huge list of Ruby meetups, a tiny Ruby release, and an Active Record test you can take. |        

#​640 — February 9, 2023 

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

When I noticed we'd reached _issue 640_ I was reminded of the [fabled but unlikely](https://www.computerworld.com/article/2534312/the--640k--quote-won-t-go-away----but-did-gates-really-say-it-.html) quote of Bill Gates that _"640K ought to be enough for anybody."_ Is 640 issues of a newsletter enough for anybody? Probably. But, amazingly, the Ruby world seems to only be getting _busier_ lately, so I may have to defer such a decision to issue 1000.. 😁
__
_Peter Cooper, your editor_ 

Together with [![ButterCMS\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,e_trim,w_700,h_100/e_make_transparent/co_white,e_outline:10/h4j9v0v4af8ufqqreqfq.png)](https://buttercms.com/rails-cms/?utm_source=rubyweekly&utm_medium=email&utm_campaign=retirelegacycms)  

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/obdpwgjeym8ex9bhuhfi.jpg)](https://rubyreferences.github.io/rubychanges/3.2.html)  

[An Extensive Ruby 3.2 Changelog](https://rubyreferences.github.io/rubychanges/3.2.html) — Victor is back with another of his epic roundups of what's new in the latest version of Ruby. The objective is to highlight _language_ changes rather than implementation ones so while you won’t see YJIT explained here, you will see tons of great information, complete with code examples, that you can lean on in your day to day work. 

Victor Shepelev   

🇺🇦 Victor has also written about [participating in (a) programming language's evolution during 'interesting times'](https://zverok.space/blog/2023-02-07-changelog2023.html) referring to his experiences living, working, and volunteering during Russia's horrific invasion of his country.  [![\](https://copm.s3.amazonaws.com/ae29e5e2.png)](https://buttercms.com/rails-cms/?utm_source=rubyweekly&utm_medium=email&utm_campaign=retirelegacycms) 

[🧈 Retire your Legacy CMS with ButterCMS](https://buttercms.com/rails-cms/?utm_source=rubyweekly&utm_medium=email&utm_campaign=retirelegacycms) — ButterCMS is your new content backend. We’re SaaS so we host, maintain, and scale the CMS. Enable your marketing team to update website + app content without needing you. Try the #1 rated SaaS Headless CMS for your Ruby app today. Free for 30 days. 

🧈 ButterCMS sponsor   

[Ruby 3.2.1 Released, But It's 'Teeny'](https://www.ruby-lang.org/en/news/2023/02/08/ruby-3-2-1-released/) — A ‘teeny’ release is a little more significant than a patchlevel release but less significant than a minor one, so this is very minor indeed and not an essential update unless you’ve run into problems with 3.2.0 as it includes mostly fixes for edge cases and a `ObjectSpace::WeakMap`issue. 

Yui Naruse   

[Test Yourself on the Active Record API](https://www.vector-logic.com/blog/posts/test-yourself-on-rails-active-record-api) — A 10-question quiz on Active Record that will either leave you feeling smart or in need of doing a bit or revision.. We’re not telling where it left us :-D 

Domhnall Murphy   

▶[Ruby's Core Gem](https://www.youtube.com/watch?v=-iVh_8_J-Uo) — Ruby Central has just uploaded a talk given by the late Chris Seaton (of TruffleRuby fame) about the idea of rewriting huge chunks of the core of Ruby in Ruby itself (an idea Rubinius got pretty far with back in the day). 

Chris Seaton at RubyConf 2022   

**QUICK BITS** 

- 🌎 Thoughtbot has put together [an extensive list of Ruby groups around the world](https://thoughtbot.com/blog/ruby-groups-around-the-world) if you fancy attending a local meetup.
- Last year, Ruby Central and Shopify paired up to create _Ruby Shield_, a program to increase work on Ruby security. [Here's an update of how _Ruby Shield_ is going](https://rubycentral.org/news/ruby-shield-update-winter-2023/) as of early 2023.
- The [RailsConf 2023 Call for Proposals](https://sessionize.com/railsconf2023) is now open (until February 24). The event itself is April 24-26 in Atlanta, GA.
- The [latest weekly update from the Rails project.](https://rubyonrails.org/2023/2/3/this-week-in-rails-week-05)  

📕 Tutorials and Articles  

[Ruby's Default Gems](https://www.alchemists.io/articles/ruby_default_gems/) — Ruby has [a set of ‘default’ gems](https://stdgems.org/) you won't often need to think about, but if you need to mess with them or upgrade them separately from Ruby itself, this is for you. 

Brook Kuhlman (Alchemist)   

[Getting Started with Hanami and GraphQL](https://lucaguidi.com/2023/02/06/getting-started-with-hanami-and-graphql/) — If you’ve not yet dipped your toes into the [Hanami](https://hanamirb.org/) waters, this step-by-step walkthrough of creating a simple GraphQL service might be just what you need. 

Luca Guidi   

[Get All the Monitoring Your Ruby App Needs in 5 Mins…Starting at Free? 🤩](https://www.honeybadger.io/for/rails/?utm_source=rubyweekly&utm_medium=email&utm_campaign=ruby) — Know the moment a critical error occurs, who is affected, fix it quickly, amaze everyone, take a bow. Get started today. 

Honeybadger sponsor   

[Our Journey into Crystal for Fast Image Processing](https://blog.phenopolis.com/posts/our-journey-into-crystal-and-image-processing/) — There’s not much code here, but a story where someone uses [Crystal](https://crystal-lang.org/) (a compiled language heavily inspired by Ruby) to see performance and other gains in production is encouraging. 

Andrei Zhigalkin   

[Integrating Ruby with OpenAI: A Beginner’s Guide](https://reinteractive.com/articles/integrating-ruby-with-openai-a-beginners-guide) — The basics of using the `ruby-openai` to work with OpenAI’s API to generate output from its GPT-3 models. Kane then moves on to [using AI to parse emails from Ruby](https://reinteractive.com/articles/creating-an-ai-email-parser-using-ruby-and-openai-%28gpt-3%29). 

Kane Hooper   

▶[How Derek Sivers Uses Ruby (And His Programming Philosophy)](https://share.transistor.fm/s/3660db24) — Derek became well known for running, and then selling, CD Baby (a site running on Rails in its early days), and is now an author and speaker. He still uses Ruby and in a very distinctive way as shared in this hour long podcast interview. 

Remote Ruby podcast   

[Don’t Let Your Issue Tracker Be a Four-Letter Word. Use Shortcut](https://shortcut.com/?utm_source=cooperRubyWeekly&utm_medium=spon_nl&utm_campaign=prospecting&utm_content=fourletter) 

Shortcut (formerly Clubhouse.io) sponsor   

[Building AWS Ruby Lambdas that Require Gems with Native Extensions](https://dev.to/aws-builders/building-aws-ruby-lambdas-that-require-gems-with-native-extension-17h) 
Robert J. Berger   

▶[The Case of the Vanished Variable: A Ruby Mystery Story](https://www.youtube.com/watch?v=JPeCkA2V4_8) 
Nadia Odunayo at RubyConf Mini 2022   

▶[Storing and Searching JSON in Rails 7](https://www.youtube.com/watch?v=6UWz2a5OcyE) 
Dean DeHart   

▶[Demystifying the Asset Pipeline](https://www.driftingruby.com/episodes/demystifying-the-asset-pipeline) 
David Kimura  

🛠 Code & Tools  

[Anansi: A Hybrid Ruby Set using Memory and Disk (SQLite)](https://census.dev/blog/anansi) — Wondering what to do with that large `Set` that doesn’t fit in memory? Crawl on over and try Anasi, which will spill to disk if necessary. 

Saad Syed (Census Engineering)   

[by: Ruby Library Preloader](https://github.com/jeremyevans/by) — An interesting client-server approach to preloading Ruby libraries in a long-running process and then having client scripts run as forked workers from it. Has some mild echoes of the FastCGI of yesteryear. And why “by”? _[There’s a cute reason for that](https://github.com/jeremyevans/by#name-)_. 

Jeremy Evans   

[Need to Upgrade Ruby? We Made a Gem for That 💎](https://github.com/fastruby/next_rails?utm_source=cooperpress&utm_medium=ruby-weekly&utm_campaign=44966&utm_term=service-agency&utm_content=gem) 

FastRuby.io | Ruby and Rails Upgrade Services sponsor   

[JRuby 9.4.1.0 Released](https://www.jruby.org/2023/02/07/jruby-9-4-1-0.html) — In case you missed JRuby 9.4’s recent release, the 9.4.x branch is the _Ruby 3.1 compatible_ branch of the popular JVM-based Ruby implementation. 9.4.1 brings an update to Psych, fixes to keyword arguments and `SecureRandom.random_number`, plus reductions in JIT bytecode size _“allowing more methods to compile to JVM bytecode.”_ 

The JRuby Core Team   

[Roo 2.10: Read All Common Spreadsheet File Formats in Ruby](https://github.com/roo-rb/roo) — Covers Excel 2007-2013, LibreOffice ODS, CSV, and lesser used Excel formats. 

Daniels, Simonov, et al.   

[Committee 5.0: Rack Middleware to Build Services with JSON Schema](https://github.com/interagent/committee) — For when you want to build services based upon JSON Schema, OpenAPI 2, or OpenAPI 3. 

interagent   

[AttrJson 2.0: Serialized JSON-Hash-Backed Active Record Attributes](https://github.com/jrochkind/attr_json) — Focused on Postgres which has great native JSON type support. 

Jonathan Rochkind   

[online_migrations 0.6: Catch Unsafe Postgres Migrations in Development and Run Them Easier in Production](https://github.com/fatkodima/online_migrations) — The extensive README alone is worth the price of admission, but using the gem might save you a few headaches with dangerous migrations on large tables. 

Dima Fatko   

- [ActiveRecord::Cte 0.3](https://github.com/vlado/activerecord-cte)
 ↳ Adds Common Table Expressions to AR.
- [Prosopite 1.3](https://github.com/charkost/prosopite)
 ↳ Rails N+1 query auto-detection.
- [Regexp::Parser 2.7](https://github.com/ammar/regexp_parser)
 ↳ Regular expression parser and transformer.
- [GraphQL::PersistedQueries 1.7](https://github.com/DmitryTsepelev/graphql-ruby-persisted_queries)
 ↳ Persisted queries for graphql-ruby.
- [RubyGems 3.2.34](https://blog.rubygems.org/2023/02/06/3.2.34-released.html)
- [stripe-ruby 8.2](https://github.com/stripe/stripe-ruby) and [stripe-rails 2.4](https://github.com/tansengming/stripe-rails)
- [RubyMine 2023.1 EAP3](https://blog.jetbrains.com/ruby/2023/02/the-rubymine-2023-1-eap3/)     

Jobs  

[Full Stack Engineer (Remote)](https://booqable.com/careers/full-stack-developer/) — Booqable is a SaaS application for the global rental industry. We are looking for an experienced Full Stack Engineer. 
Booqable   

[Curious How Great Products Get Made?](https://www.linkedin.com/jobs/view/3461834976/) — Come help us craft the operating system for modern manufacturing. 
Wherefour   

[Find Ruby Jobs with 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=easy-job-hunting) — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now. 
Hired           

Curated by [Peter Cooper](https://x86.social/@cooper) and [Glenn Goodrich](https://twitter.com/ruprict).
Published by [Cooperpress](https://cooperpress.com/). 

[Change your email](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   

Other weekly newsletters we publish include [Postgres Weekly](https://postgresweekly.com/), [React Status](https://react.statuscode.com/), [Frontend Focus](https://frontendfoc.us/), and [JavaScript Weekly](https://javascriptweekly.com/).
