---
title: "Ruby 2.7.0 Preview 3 Released"
publication: "Ruby Weekly"
issue: 478
published_at: "2019-11-28"
canonical_url: "https://rubyweekly.com/issues/478"
---

Plus the rest of this week's Ruby news.       

#478 — November 28, 2019 

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

Ruby Weekly  

[Ruby 2.7.0 Preview 3 Released](https://www.ruby-lang.org/en/news/2019/11/23/ruby-2-7-0-preview3-released/) — We’re now _less than a month_ from the final release of Ruby 2.7 (which, fingers crossed, should be on Christmas Day, as is the tradition). If you want to get playing with pattern matching, the improved `irb`, and other new features though, the current preview release is pretty stable. 

Yui Naruse   

[The `.:` Syntax For Referencing Methods Is Cancelled](https://bugs.ruby-lang.org/issues/16275) — One new feature that was expected to appear in Ruby 2.7 (and which was only just dropped in preview 3) was `.:` as a short hand for referencing methods. This thread covers the reasons why it’s been dropped for now – not everyone is happy with the outcome. 

ruby-lang.org   [![\](https://copm.s3.amazonaws.com/c47061b2.png)](https://circleci.com/blog/continuous-deployment-without-downtime/) 

[Continuous Deployment Without Downtime](https://circleci.com/blog/continuous-deployment-without-downtime/) — How do you ensure that your team can achieve zero-downtime deployments? 

CircleCI sponsor    

[Using UUIDs in Rails 6 with Postgres and ActiveRecord](https://pawelurbanek.com/uuid-order-rails) — UUIDs (which look like long strings of hexadecimal numbers) are an alternative primary key type for databases with pros and cons over standard, ordered integer-based keys. Rails 6 can work with UUID keys pretty well and here’s a quick tour. 

Paweł Urbanek   

[Ruby 2.7's `Enumerator#produce`](https://blog.saeloun.com/2019/11/27/ruby-2-7-enumerator-produce.html) — `produce` provides a way to generate sequences - think `inject` but without a single end result, and instead a sequence of results built around each step. 

Prajakta Tambe   

▶[RubyConf 2019 Opening Keynote: A Ruby Progress Report](https://www.youtube.com/watch?v=2g9R7PUCEXo) — The [RubyConf 2019 videos](https://www.youtube.com/playlist?list=PLE7tQUdRKcyZDE8nFrKaqkpd-XK4huygU) are slowly beginning to come out one by one, but why not start with Matz’s keynote where he reflects on his goals for the language, how things are progressing and some of the things _not_ making it into 2.7. 

Yukihiro Matzumoto  

💻 Jobs  

[Senior Rails Engineer (Remote)](https://apply.workable.com/fleetio/j/2C468BAB4F/) — Ruby on Rails (5.2), Stimulus, Postgres & Heroku — We strive to keep our frameworks/libraries up to date. Perks: Remote team, competitive pay, meaningful company equity. 

Fleetio   

[Find a 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) — Make a profile, name your salary, and connect with hiring managers from top employers. Vettery is completely free for job seekers. 

Vettery  

📘 Articles & Tutorials  

[Ruby Refinements and the Sorbet Type Checker](https://trippett.co.uk/2019/11/18/ruby-refinements-and-the-sorbet-type-checker/) — From a team actually using Sorbet _and_ refinements! As you might guess, there are issues, but this story has a happy ending. 

Paul Trippett   

[Configurable Ruby Modules: The Module Builder Pattern](https://blog.appsignal.com/2019/11/29/configurable-ruby-modules-the-module-builder-pattern.html) — This pattern enables the ability to tailor a module to the context of the including class, enabling code reuse and proper specificity. 

Michael Kohl   

[Some Surprising Behaviour of Empty Arrays](https://www.mesomorphic.co.uk/blog/2019/11/26/empty-array-in-ruby/) — Did you know that `[].all? { |n| n.even? }` will return `true`? If not, step this way.. 

Tim Ash   

[Troubleshoot Ruby App Errors and Latency with Datadog APM](https://www.datadoghq.com/dg/apm/ruby-troubleshooting/?utm_source=Advertisement&utm_medium=CooperPress&utm_campaign=CooperPress-RubyWeeklyAPMS) — Trace requests across service boundaries and optimize bottlenecks by drilling into individual traces end-to-end. 

Datadog APM sponsor   

[Bulk Inserting Records in Rails 6](https://blog.saeloun.com/2019/11/26/rails-6-insert-all.html) — If you want to load in a lot of data in one go, Rails 6 introduces some extra methods you’ll find useful: `insert_all`, `insert_all!`, `upsert_all` (`upsert_all` lets you basically merge a bunch of records into a database, updating existing entries as it goes). 

Alkesh Ghorpade   

[Faking External Services in Tests with Adapters](https://thoughtbot.com/blog/faking-external-services-in-tests-with-adapters) — A quick, practical example of faking external services for testing purposes. 

German Velasco   

[Track Email Statuses in Rails with SendGrid](https://www.twilio.com/blog/track-email-status-ruby-on-rails-sendgrid) — One for SendGrid users only (we use them to send this newsletter!) 

Phil Nash   

[Using Bootstrap with Rails Webpacker](https://rossta.net/blog/webpacker-with-bootstrap.html) — A tutorial for integrating Bootstrap 4 with Rails and Webpacker 4. 

Ross Kaffenberger   

▶[Principles of Awesome APIs and How to Build Them](https://www.youtube.com/watch?v=NgFm7qAhv9g&list=PLE7tQUdRKcyZDE8nFrKaqkpd-XK4huygU&index=4&t=0s) 

Keavy McMinn  

🛠 Code and Tools  

[Artichoke: A Ruby Made with Rust](https://artichoke.github.io/rubyconf/2019/#/) — We’ve linked to articles about [Artichoke](https://artichoke.run/) (which you can play with at that link) before, but here’s a presentation from RubyConf. 

artichoke project   

[Rails 5.2.4 Released](https://weblog.rubyonrails.org/2019/11/27/Rails-5-2-4-has-been-released/) — Just a minor maintenance release. [6.0.1](https://weblog.rubyonrails.org/2019/11/5/Rails-6-0-1-released/) remains the latest product release of Rails, though [6.0.2rc1](https://weblog.rubyonrails.org/2019/11/27/Rails-6-0-2-rc1-has-been-released/) is also out with 6.0.2 final due next week. 

Official Rails Blog   

[Put an End to Manual Code Reviews: Automate from Your Workflow](https://lp.codacy.com/ruby-code-review?utm_source=CooperPress&utm_medium=cpm&utm_campaign=CooperPress-RubyB) 

Codacy sponsor   

[Carmen: A Repository of Geographic Regions for Ruby](https://github.com/carmen-ruby/carmen) — A quick way to get data and convenience methods for countries and their subregions/states/provinces. 

Carmen   

[ezmetrics: A Simple Tool for Capturing and Displaying Rails Metrics](https://github.com/nyku/ezmetrics) — Captures and stores (in Redis) values for duration, views, queries, etc. for the duration specified. 

Nicolae Rotaru         

Curated by [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
