#429 — December 13, 2018

Read on the Web

Ruby Weekly

Ruby 2.6.0 Release Candidate 1 Released — Things are looking good for Ruby 2.6’s eventual final release on Christmas Day. We’ve linked a lot of great Ruby 2.6 roundups recently, but now’s the time to finally get testing and playing if you haven’t yet.

Yui Naruse

Running Sinatra Serverlessly on AWS LambdaAWS Lambda now supports Ruby so people are beginning to explore the possibilities - here’s how to use Sinatra with it.

Tomas Valent

An In-Depth Look at Ruby's Exception System — Ruby's exception system is more powerful than many people realize. This book shows you how to get the most from it.

Honeybadger sponsor

mruby 2.0.0 Released — mruby is a lightweight Ruby implementation designed for embedding or linking with other apps. New features include keyword arguments and argument deconstruction.


A Java Developer Walks Into a Ruby Conference — Charles Nutter, maintainer of JRuby, received a Groundbreaker Award at Oracle Code One. Even with this award, I don’t think Charles gets enough credit.

Alan Zeichick (Forbes)

PSA: Ruby 4.2.x Doesn't Work with Ruby 2.6 — Article is in Japanese but it’s as simple as the headline. Why? BigDecimal.new has been removed in Ruby 2.6.


💻 Jobs

Sr. Fullstack Engineer (Remote) — Sticker Mule is looking for passionate developers to join our remote team. Come help us become the Internet’s best place to shop and work.

Sticker Mule

Senior/Lead Ruby on Rails Developer at Hint (Remote) — Do you enjoy debugging, killing tech-debt, and refactoring code? We’re seeking an experienced Ruby on Rails developer to join our team.


Join Our Career Marketplace & Get Matched With A Job You Love — Through Hired, software engineers have transparency into salary offers, competing opportunities, and job details.


📘 Articles & Tutorials

▶  Building Generic Software — A talk from RubyConf that digs into the idea of building multiple APIs that each handle a smaller, more ‘generic’ part of a problem and then bringing them together.

Chris Salzberg

How to Reduce Memory Usage by Tuning Gemfile — Split your dependencies into groups so Rails only loads the gems it actually needs.

Greg Navis

Free eBook: Actionable Continuous Delivery Metrics — This eBook provides you insight into your CD pipeline & helps you to improve your CD process with metrics.

GoCD sponsor

Juggling Chainsaws at Machu Picchu: Metaprogramming in Ruby — The chainsaw, in this case, is method_missing.

Tim Ash

The Science of Polymorphic Routes in Rails — If you’ve ever wondered why code like form_for @post can result in different URLs for different posts and purposes, this will help you understand how it works.

Ryan Bigg

▶  Writing Ruby Like It's 2018 — This is a neat 10 minute talk that covers a little Ruby history but ultimately urges us to try out new approaches and features that modern versions of Ruby enable.

Joe Leo

Ruby Kafka Messaging App using Docker — How to run a Ruby app running in one container to Kafka running in another. If you’ve ever tried to Dockerize Kafka, you’ll appreciate this.

Bala Paranj

How to Use The VCR Gem to Improve Your Testing Suite — Avoid issues with hammering external APIs during testing by recording and replaying what occurs using VCR.

Jesus Castello

The Rails 5 Active Record Attributes API — The Attributes API allows you to cast attributes to both built-in and custom types.

Abhay Nikam

🔧 Code & Tools

Rack Middlewares That Have Saved Me Literally Hours of My Life

Sam Phippen

JRuby Released

JRuby Core Team

Scale Automatically and Release Faster with DigitalOcean Kubernetes

DigitalOcean sponsor

WebMock: Stub and Set Expectations on HTTP Requests for Testing — Supports lots of HTTP libraries like Net::HTTP, Excon, the http gem, & Curb::Easy.

Bartosz Blimke

grpc_kit: A Kit for Creating GRPC Servers/Clients in Ruby

Yuta Iwama

Displaying, Downloading and Streaming Files with Active Storage“a quick’n’dirty cheat sheet for basic Active Storage actions”

Josef Strzibny

Action Cable Client: A Ruby Client for Interacting with Action Cable — 3.0.1 supports reconnect.

L. Preston Sego III