---
title: "Rails 6.1 and Ruby 3.0.0 preview 2"
publication: "Ruby Weekly"
issue: 531
published_at: "2020-12-10"
canonical_url: "https://rubyweekly.com/issues/531"
---

A frankly huge week for the Ruby community - check out all the new goodies here. |        

#531 — December 10, 2020 

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

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1607606920/fipdrxyvzrwxeraq4guw.png)](https://weblog.rubyonrails.org/2020/12/9/Rails-6-1-0-release/)  

[Rails 6.1 Released](https://weblog.rubyonrails.org/2020/12/9/Rails-6-1-0-release/) — The newest Rails train has just pulled into the station! If your app needs the flexibility of per-database connection switching or [horizontal sharding](https://github.com/rails/rails/pull/38531), this is a compelling update. We also get strict loading associations (stop N+1s in their tracks), [delegated Active Record types](https://github.com/rails/rails/pull/39341) (as a rather nicer alternative to STI), and performance improvements all round. Here’s [a table showing if you’re ready](https://blog.planetargon.com/entries/rails-61-is-coming-soon-how-to-prepare-your-app-now) to upgrade apps on various versions of Rails to the new version. 

Official Rails Blog   

[Ruby 3.0.0 Preview 2 Released](https://www.ruby-lang.org/en/news/2020/12/08/ruby-3-0-0-preview2-released/) — Are you ready for the final Ruby 3.0 release due on Christmas Day? If you want to get testing ASAP, this preview is what you need. Static typing (via RBS), ractors, TypeProf, one line pattern matching, MJIT, `end`-less method definitions, and `Fiber#scheduler` are all here. But bye bye to `$SAFE`. 

Yui Naruse   [![\](https://copm.s3.amazonaws.com/c2051955.png)](https://www.honeybadger.io/vs/error-trackers/?utm_source=rubyweekly&utm_medium=email&utm_campaign=ruby) 

[How Does Honeybadger Compare to Your Current Error Tracker?](https://www.honeybadger.io/vs/error-trackers/?utm_source=rubyweekly&utm_medium=email&utm_campaign=ruby) — Honeybadger transforms you into a DevOps hero by combining error monitoring, uptime monitoring, and chron monitoring into a single, easy to use platform. We’re a bootstrapped company built for developers like you, not shareholders. [Click to compare](https://www.honeybadger.io/vs/error-trackers/?utm_source=rubyweekly&utm_medium=email&utm_campaign=ruby). 

Honeybadger sponsor   

[Announcing Stimulus 2.0](https://discourse.stimulusjs.org/t/announcing-stimulus-2-0/1482) — [Stimulus](https://stimulusjs.org/) is a _JavaScript_ framework, but it comes from the folks at Basecamp (they invented Rails, y'know ;-)) and is commonly aligned with Rails apps. There are two new APIs for working with [values](https://stimulusjs.org/reference/values) and [CSS classes](https://stimulusjs.org/reference/css-classes). The [handbook](https://stimulusjs.org/handbook/introduction) has been updated or if you prefer screencasts, you can learn more in [▶️ this Drifting Ruby tutorial](https://www.driftingruby.com/episodes/the-stimulus-2-0-tutorial) or the [▶️ GoRails take on the new APIs.](https://gorails.com/episodes/stimulus-js-2) 

Sam Stephenson   

[Introducing New Features for the `aws-sdk-rails` Gem](https://aws.amazon.com/blogs/developer/introducing-new-features-for-the-aws-sdk-rails-gem/) — The Ruby SDK team at AWS have unveiled a big refactoring of `aws-sdk-rails` to make developing Rails applications using AWS easier than ever. What do you get? An SQS adapter for Active Job, loading of AWS credentials using Rails’ encrypted credentials, use DynamoDB for session storage, and more. 

Matt Muller (AWS)   

[Ruby is Coming to Azure Functions](https://twitter.com/nthonyChu/status/1335725294838116352) — Azure's serverless platform. 
Anthony Chu on Twitter  

💻 Jobs  

[Software Developer (Austin, TX)](https://www.srpatx.com/careers) — We're a largely ex-Pivotal tech team looking for developers with all levels of experience. If you enjoy learning, collaborating, and creative problem solving then let's talk. 

Stronghold Resource Partners   

[Rails Developer at Agent Pronto (Remote-USA)](https://agentpronto.com/careers/rails-developer) — Join our team as a Rails dev where you’ll help ship features and squash bugs. Ruby on Rails, Vue, TDD, HTML/CSS, Git, CI. 

Agent Pronto   

[Find Your Next Job Through Vettery](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-rubyweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-77583) — Create a profile on 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 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/clww6b4d6fjguswt8nrk.jpg)](https://codefol.io/posts/is-ruby-3-actually-three-times-faster/)  

[Is Ruby 3 Actually Three Times Faster?](https://codefol.io/posts/is-ruby-3-actually-three-times-faster/) — It depends on how you define performance and what your baseline is, but the short answer is “yes”. However, don’t expect Rails to be 3x faster. Let’s just enjoy the fact that our favorite language is _much_ faster now than it was a decade ago. 

Noah Gibbs   

[How to Create a AWS Lambda Layer of Your Gem Dependencies](https://dev.to/peterc/how-to-create-a-aws-lambda-layer-of-your-gemfile-ruby-gem-dependencies-1gfj) — Throwing Ruby code into the cloud with AWS Lambda is easy, but getting the heavier dependencies (e.g. nokogiri, or the `http` gem) working isn’t quite as easy. I worked out how to do it without heavy tooling requirements. 

Peter Cooper   

[Why You Should Never Use `sudo` to Install Ruby Gems](https://www.moncefbelyamani.com/why-you-should-never-use-sudo-to-install-ruby-gems/) — Most of us might say “well, duh,” but it’s still a good reminder and explanation of why this practice is problematic. 

Moncef Belyamani   

📅 [Changing the Game at AWS re:Invent with AnneMunition Dec. 15, 3pm PST](https://newrelicchangesthegame.com/) 

New Relic sponsor   

[Diagnosing Performance Issues in Rails Applications](https://buildingvts.com/diagnosing-performance-issues-in-rails-applications-9418eb5d872) — Most of the focus here is on database and query tuning, which is always useful. 

Becca Liss   

▶[A Chat with dev.to's Site Reliability Engineer](https://railswithjason.simplecast.fm/molly-struve) — A 52-minute chat with Molly Struve, Site Reliability Engineer at Forem (the broader name of the company running the popular Rails-powered [dev.to](https://dev.to/) community), about monitoring, types of incidents, and dividing time between incident response and preventative work. 

Rails with Jason podcast   

[Organizations and Layers of Abstraction](https://kirshatrov.com/2020/11/15/org-layers-of-abstraction/) — After year of working in Shopify’s production engineering team, Kir has seen how managing layers of abstraction is key to solving scalability issues. 

Kir Shatrov   

[Fixing a Ruby 2.7 Compilation Error on macOS Big Sur](https://solnic.codes/2020/12/09/fixing-ruby-2-7-compilation-error-on-big-sur/) — The author is using `ruby_install` and Homebrew, but his fix may help anyone having compilation issues on the new macOS. 

Piotr Solnica   

[How to Add Tailwind CSS 2.0 to a Rails 6 App](https://rubyyagi.com/tailwindcss2-rails6/) 
Axel Kee  

🛠 Code and Tools  

[TTY::Reader 0.9.0: Methods for Processing Keyboard Input](https://github.com/piotrmurach/tty-reader) — It’s not readline compatible, but if reading user input with `gets` is as far as you usually get, this could help make your terminal keyboard input experiences a little more powerful. 

Piotr Murach   

[JRuby 9.2.14.0 Released](https://www.jruby.org/2020/12/08/jruby-9-2-14-0.html) — As work continues on JRuby 9.3, we get another 9.2 release to fix up a few dependencies (WEBrick, did_you_mean, JNR) and various bugs/issues. 

JRuby Team   

[More Postgres, Less Administration](https://www.crunchydata.com/products/crunchy-bridge/) — Developer friendly, production ready. Crunchy Bridge is the better option for your Postgres hosting. 

Crunchy Bridge sponsor   

[RubyGems 3.2.0 Released (plus 3.1.5, 3.0.9 and 2.7.11)](https://blog.rubygems.org/2020/12/10/3.2.0-released.html) — No major new features but numerous optimizations including lazy loading of its dependencies. Also minor updates to [3.1](https://blog.rubygems.org/2020/12/09/3.1.5-released.html), 3.0 and 2.7 branches add a new root certificate and remove outdated ones ([details](https://github.com/rubygems/rubygems/pull/4100)). 

RubyGems Blog   

[ruby-install 0.8.0: A Way to Install All the Rubies](https://github.com/postmodern/ruby-install) — Handles Ruby (MRI), JRuby, Rubinius, TruffleRuby or mruby, and provides an alternative to the RVM approach. 

Hal Brodigan   

[curses 1.4.0: Ruby Bindings for curses, ncurses, and PDCurses](https://github.com/ruby/curses) — This _used_ to be part of the standard library but has been maintained as its own separate gem for several years now. 

Ruby Core Team   

[3llo: An Interactive CLI App for Trello](https://github.com/qcam/3llo) — A tool built in Ruby to work with the popular list/board making tool [Trello.](https://trello.com/) 

Cẩm Huỳnh   

[Puma 5.1.0 Released: A Rack Web Server Built for Concurrency](https://github.com/puma/puma) — Here are [the release notes.](https://github.com/puma/puma/releases/tag/v5.1.0) 
Puma Team   

[Stripe::Rails 2.2.0: A Rails Engine for Integrating with Stripe](https://github.com/tansengming/stripe-rails) 
SengMing Tan         

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
