---
title: "GitHub now running Ruby 2.7 in production"
publication: "Ruby Weekly"
issue: 513
published_at: "2020-08-06"
canonical_url: "https://rubyweekly.com/issues/513"
---

Plus more of this week's Ruby news, views, and libraries.       

#513 — August 6, 2020 

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

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1596635566/xk2eerfa60u4kdofp45v.png)](https://github.com/excid3/noticed)  

[Noticed: Notifications for Rails Apps](https://github.com/excid3/noticed) — Supports database, email, Action Cable, Twilio, Slack, and custom delivery methods. There’s [a 12 minute screencast](https://www.youtube.com/watch?v=Scffi4otlFc) showing it off too. 

Chris Oliver   

[Types in Ruby 3, RBS, and Sorbet](https://sorbet.org/blog/2020/07/30/ruby-3-rbs-sorbet) — If you missed [last week’s issue](https://rubyweekly.com/issues/512) and the piece on [RBS and typing in Ruby 3.0](https://developer.squareup.com/blog/the-state-of-ruby-3-typing/) it might be worth catching up, but this goes a step further in explaining how it relates to [Sorbet](https://sorbet.org/), an existing and popular type checker for Ruby. 

Jake Zimmerman   [![\](https://copm.s3.amazonaws.com/ef1efb81.png)](https://scoutapm.com?utm_source=rubyweekly&utm_medium=newsletter&utm_campaign=q3) 

[Scout APM: Get Back to Building Great Products](https://scoutapm.com?utm_source=rubyweekly&utm_medium=newsletter&utm_campaign=q3) — Scout is application performance monitoring that gets Ruby developers back to coding faster. Scout streamlines proactive & real-time insight so you can quickly pinpoint & resolve issues before the customer ever sees them. Start your free trial today. 

Scout APM sponsor   

[The Active Job Style Guide](https://github.com/toptal/active-job-style-guide) — A list of best practices for working with background jobs in Ruby using Active Job with Sidekiq as the backend. 

Filipp Pirozhkov   

[Prawn 2.3.0: The PDF Writing Library for Ruby](https://github.com/prawnpdf/prawn/releases/tag/2.3.0) — There hasn’t been a release in over three years, so this is newsworthy. 2.3 also adds OTF font support and supports up to Ruby 2.7. 

PrawnPDF     

**⚡️ Quick bytes:** 

- GitHub is [now running Ruby 2.7 in production.](https://twitter.com/eileencodes/status/1288871787288305664) _"It took 30+ gem upgrades, 15+ gem patches, and fixing 11k+ warnings."_
- Rails 6.1 [deprecates the use of](https://blog.bigbinary.com/2020/08/03/rails-6-1-deprecates-the-use-of-return-break-or-throw-to-exit-a-transaction-block.html) `return`, `break` or `throw` to exit a transaction.
- Get up to speed with [Ractors](https://github.com/ko1/ruby/blob/ractor_parallel/doc/ractor.md) — Ruby 3.0's actor-esque concurrency abstraction.
- If you missed last week's issue, we spoke with Michael Hartl (_of Ruby on Rails Tutorial fame_). [The full interview is now online](https://superhighway.dev/michael-hartl-interview).   

💻 Jobs  

[TrueCoach Is Hiring a Senior Backend Engineer](https://truecoach.co/careers/) — TrueCoach, the leading platform for online personal training and coaching, is hiring an experienced Ruby/Rails engineer. 

TRUECOACH   

[One Application, Hundreds of Hiring Managers](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-rubyweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-77583) — Use Vettery to connect with hiring managers at startups and Fortune 500 companies. It's free for job-seekers. 

Vettery  

ℹ️ _Interested in running a job listing in Ruby Weekly? There's [more info here](https://booking.cooperpress.com/jobs)_. 

📘 Articles & Tutorials  

[How to Test Ruby Code That Depends on External APIs](https://www.honeybadger.io/blog/ruby-external-api-test/) — Few things are more frustrating than slow, flaky test suites. There are a few ways to make things more robust, like stubbing, mocking servers, VCR.. and José looks at a couple of options here. 

José M. Gilgado   

[A Visual Guide to Webpacker](https://rossta.net/blog/visual-guide-to-webpacker.html) — Navigate the world of Webpacker and webpack on Rails with increased confidence using this collection of mental maps/diagrams. 

Ross Kaffenberger   

[Troubleshooting Encoding Errors in Ruby](https://www.honeybadger.io/blog/troubleshooting-encoding-errors-in-ruby?utm_source=rubyweekly&utm_medium=email&utm_campaign=ruby) — From the Honeybadger Developer Blog featuring tutorials & good advice by the coolest error monitoring solution around. 😎 

Honeybadger sponsor   

[Idiosyncratic Ruby: Assignments In-Style](https://idiosyncratic-ruby.com/68-assignments-in-style.html) — Also called “pattern assignment”, 2.7 introduces a way to assign variables using pattern matching. 

Jan Lelis   

[How to Improve ActiveRecord Performance with Subquery Caching](https://pawelurbanek.com/rails-query-caching) — It’s a bit of a process: Analyze slow queries, isolate subqueries into memoized methods, cache one or more of the subqueries. Oh, and refresh the cache when necessary. 

Paweł Urbanek   

[Enhanced Shell Scripting with Ruby](https://www.devdungeon.com/content/enhanced-shell-scripting-ruby) — A set of tips that will start you on the path of adding Ruby to your shell scripting toolbox. 

DevDungeon   

[A Rubyist's Look at the Apple Silicon Developer Transition Kit](https://www.driftingruby.com/episodes/apple-silicon-developer-transition-kit) — A peek behind the curtain surrounding Apple’s forthcoming move from x86 to its own ARM-based silicon and how it will affect Rubyists in particular. 

Drifting Ruby   

▶[Discussing Rails Deployment using Docker and Kubernetes with Cameron Dutro](https://railswithjason.simplecast.fm/cameron-dutro) — Covering deploying Rails applications using Docker and Kubernetes and Cameron’s [Kuby](https://github.com/getkuby/kuby-core) Kubernetes deployment tool. 

Rails with Jason Podcast podcast  

🛠 Code and Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/qr9rmrkdb27zp7apl16t.jpg)](https://github.com/Tarptaeya/path_tracer)   

[Path Tracer: Accelerated Path Tracing in Pure Ruby](https://github.com/Tarptaeya/path_tracer) — I remember when POV-Ray was the cutting edge of ray tracing in DOS and it took days to render anything decent.. now Ruby can produce similar output in a few minutes. It requires a little work to get this running (you need to supply a `env1.jpg` file that it can use as a texture) but it does work. 

Anmol Gautam   

[Ancestry: Organize An Active Record Model Into a Tree Structure](https://github.com/stefankroes/ancestry) — If you’ve got hierarchical or tree-like data to represent in Active Record, this is for you. 

Stefan Kroes   

[Troubleshoot Ruby App Issues Fast with Datadog’s End-To-End Tracing](https://www.datadoghq.com/dg/apm/ruby-troubleshooting/?utm_source=Advertisement&utm_medium=CooperPress&utm_campaign=CooperPress-RubyWeeklyTroubleshootB) 

Datadog sponsor   

[JRuby 9.2.13.0 Released](https://www.jruby.org/2020/08/03/jruby-9-2-13-0.html) — This release is 2.5.x compatible and may be the last release before 9.3.0.0. 

JRuby   

[ValueSemantics: A Gem for Making Value Classes, with Lightweight Validation and Coercion](https://github.com/tomdalling/value_semantics) 

Tom Dalling   

[ROTP: The Ruby One Time Password Library](https://github.com/mdp/rotp) — Generate and validate one time passwords (HOTP and TOTP) according to RFC 4226 and RFC 6238. 

Mark Percival   

[Brakeman 4.9.0: A Security Vulnerability Scanner for Rails Apps](https://github.com/presidentbeef/brakeman) 

Justin Collins   

[Chartkick 3.4: Beautiful JavaScript Charts in One Line of Ruby](https://github.com/ankane/chartkick) — See some [examples, along with code, here.](https://chartkick.com/) Works fine with Rails 6 and Webpacker, etc. 

Andrew Kane         

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
