#438 — February 21, 2019

Read on the Web

Ruby Weekly

Some 'Unnoticed' Features of Rails 6 — There’s a sizable number of changes coming to Rails 6 (which is already in beta) that aren’t getting the limelight, such as host whitelisting, new migration features, and tons of time and date syntactical sugar.

Alexandre Ferraille

Work on a Register Transfer Language (RTL) for CRuby — A detailed and rather low level article on the performance improvements that researcher Vladimir Makarov has been working on to make Ruby faster. Here we see his work with RTL, an approach for the Ruby VM to interpret instructions that results in a performance boost but at a cost.

Vladimir Makarov

Level Up Your Knowledge of 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

The Power of Ruby Structs“I invite you to explore beyond ActiveRecord models and into the world of PORO (Plain Old Ruby Objects)..” And quite an exploration it is, too.

Dustin Zeisler

Build, Package, and Deploy an AWS Lambda using the Ruby Runtime“This post is a complete guide. That means we are going to create an AWS Lambda in the console first and then move onto using AWS SAM on our local machine to package and deploy the Lambda to AWS.”

Blackninja Dojo

Rubyhack Conference (Sandy, Utah, April 4-5, 2019) — The speakers have now been announced. Matz will be giving the keynote talk.

High Altitude Coding Konference

💻 Jobs

Ruby Backend Developer (f/m/d), Berlin, Germany — Role with impact. Great team spirit. Benefits & relocation. Building the world's leading talent acquisition platform. Interested? Check out Glassdoor & kununu.


Senior Ruby Developer - Remote — Join our fully remote team and help scale one of the leading recreational poker platforms to millions of users.

Replay Gaming

Find A Job Through Vettery — Vettery specializes in developer roles and is completely free for job seekers.


📘 Articles & Tutorials

Exploring TracePoint in Ruby: Events — We linked to part one in last week’s issue, the series continues by focusing on what events can be traced and how it’s done.

Brandon Weaver

▶  Discussing Rails Performance with Nate Berkopec — A 25 minute chat with a true Rails performance expert.

The Ruby on Rails Podcast, with Brittany Martin podcast

Microbenchmarks vs Macrobenchmarks (or What's a Microbenchmark?) — Noah is well known for his Ruby performance benchmarks and here he explains why certain types of benchmark are better at measuring certain things than others.

Noah Gibbs

IMAGECON 2019: Transforming the Digital Experience. Registration Now Open

Cloudinary sponsor

Refactoring With Design Patterns: The 'State' Pattern — A basic but easily understood example of the pattern.

Cleiviane Costa

Form Validations with HTML5 and Modern Rails — Progressively adding smart functionality on top of what HTML5 and Rails bring to the validations table.

Jorge Manrubia

Going Deep on UUIDs and ULIDs — You’ve probably seen UUIDs like 123e4567-e89b-12d3-a456-426655440000 but what about ULIDs like 01ARZ3NDEKTSV4RRFFQ69G5FAV?

Starr Horne

Moving from Ruby to Rust“Moving from Ruby to Rust was a success that dramatically sped up our dispatch process..” We don’t want to lose any readers, but we think it’s important to share experiences like this too.

Andrii Dmytrenko

Making Flux Queries in Rails

InfluxData sponsor

🔧 Code & Tools

Semantic Logger: A Feature Rich Logging Framework — Can replace existing Ruby and Rails loggers and can send off logs to numerous systems like MongoDB, New Relic, Elasticsearch, or more generically to file, over TCP, UDP, HTTP, etc.


Crabstone: Ruby Bindings to the Capstone Disassembly Library — This has quite a specific and niche use case (binary analysis and reversing in the security community) but v4.0 came out recently, the first release in years.


TTY::Markdown: Convert Markdown into Terminal-Friendly Output

Piotr Murach

Flipper: Fast and Simple 'Feature Flipping' for Ruby

John Nunemaker

Passwordless: Add Password-Free Authentication to a Rails App — Provides ‘magic links’ in emails for logging in. A new version came out recently.

Mikkel Malmberg