#473 — October 24, 2019

Read on the Web

Ruby Weekly

Ruby 2.7.0 Preview 2 Released — Progress towards a final Ruby 2.7 release on Christmas Day is going well! As a reminder, there are some big new bits in 2.7: ‘compaction’ GC (which defragments the memory space your programs are using), pattern matching, irb enhancements (including multi-line editing support), and quite a bit more. It’s a perfect time to get playing.

Yui Naruse

Fun with each_with_object and Other Enumerator Adventures — This really is fun and a demonstration that even if you’re an experienced Rubyist, there’s often another, cleaner way to achieve something. each_with_index is another one I find that’s worth using on occasion.


The Easiest Way to Run Redis — Better monitoring, seamless scaling, durable and portable Redis hosting supporting all the latest features.

RedisGreen sponsor

The Annual Fukuoka Ruby Award Competition is Back — Every year, both Ruby’s creator, Matz, and a prefecture of Japan run a ‘Ruby competition’ with a prize of 1 million yen (about $9000) for Ruby-related projects built in the past year. Entries are due by December 11.

Ruby Blog

Ruby's Lazy Enumerators — In Ruby, you can make enumerators lazy so that they are only run when the data they provide is actually needed. I did a video about them several years ago if you want more depth.

Alkesh Ghorpade

Rails 6.0 New Framework Defaults: What They Do and How to Safely Uncomment Them — When you run rails app:update on a Rails 5.2 app, it creates a file with 9 new default configuration settings. Here’s what they do and how you should use them.

Dylan Reile

💻 Jobs

Software Developer - Ruby — Join our team and help to realize international cloud-native software projects based on Ruby on Rails.


Senior Rails Engineer, Product (Remote) — Stack: 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.


Have You Tried Vettery? — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started.


📘 Articles & Tutorials

Please Don't Write 'Clever' Code“I came across this code the other day, the author was quite proud of it but I would reject this PR in a heartbeat..”

Jeremy Williams

Loading Additional Ruby Gems in Development — A way to temporarily bring other gems into your project without adding them to your primary Gemfile.

Philipe Fatio

eBook: Best Practices for Optimizing Postgres Query Performance — Learn how to get a 3x performance improvement on your Postgres database and 500x reduced data loaded from disk in this free pganalyze eBook.

pganalyze sponsor

How Ruby Can Surprise You — Some difficult ‘interview questions’ that Showmax asks Ruby candidates. (These sorts of questions can be controversial as they merely test obscure language feature knowledge, so take the interview part of this with a pinch of salt.)

Showmax Engineering

The One Who Created Elixir — An interview with José Valim, a Rubyist that created Elixir, where he discusses the problems and the process that launched Elixir.

Anne-Laure Civeyrac

Why to Use Active Support in Rails for Deprecation Messages — It’s essentially an ‘internal’ tool but you can use it too.

Andy Croll

The Tools Rails 6 Introduced for Action Cable Testing. — ..and the bare basics of using them.

Narendra Rajput

The Art of PostgreSQL: A Book to Learn How to Best Use SQL from Your Ruby App

The Art of PostgreSQL sponsor

🛠 Code and Tools

command_line: An Easier Way Execute Command Line Applications — Run a shell command, in a very Rubyish way, with access to standard in and out along with environment variables.


Lowkiq: Ordered Background Jobs Processing — A sort of Sidekiq-a-like for a specific use case.

BIA Technologies, LLC

tapping_device: A Gem That Helps You Tracking Method Calls — Built on top of TracePoint.

Stan Lo

bundle-diff: Bundler Plugin for Showing Diffs of Bundled Gems Against Latest Versions

Tim Craft

Modulation 1.0: Explicit Dependency Management for Ruby

Sharon Rosner

🕰 ICYMI (Some older stuff that's worth checking out...)