#439 — February 28, 2019

Read on the Web

Ruby Weekly

Rails 6.0.0 Beta 2 Released — The gradual march towards a release candidate of Rails 6 continues. The second beta includes 532 commits beyond the first beta and includes switching autoloading over to the Zeitwerk library (here’s more info on what that means).

Official Rails Blog

Busting a Year-Old Bug in SprocketsSprockets is a popular Rack-based asset packaging system. Here we get to see a bug found within it and the process a developer went through to solve it.

Richard Schneeman

Free Visual Testing with Percy — Replace time-consuming manual QA to catch visual UI bugs automatically. Percy’s all-in-one visual testing solution makes it easy to test your UI across browsers and responsive breakpoint widths and review all visual changes with a single click.

Percy sponsor

Diving into Ruby's dup and clone — A real dive under the hood to look at how Object#dup and Object#clone differ and how they work, built off of a practical example.

Jeroen van Baarsen

Sorbet Playground: A Way to Play with Typed Ruby — 
An in-browser playground for Sorbet, a type-checker for Ruby (which we told you about in issue 402 last summer.)

Stripe

The Ruby Toolbox Now Has Historical Gem Download ChartsThe Ruby Toolbox, a handy way to find actively maintained gems, now offers charts “displaying both the total number of downloads as well as the downloads per month”

The Ruby Toolbox

💻 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 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.

HeyJobs

Find A Job Through Vettery — Vettery specializes in developer roles and is completely free for job seekers. Create a profile to get started.

Vettery

📘 Articles & Tutorials

How I Replaced a Rails App with a Few Dozen Lines of Ruby — An interesting use of GitHub Actions to write less code and maintain less infrastructure.

Nicky Holden

Secure Your Rails Staging Environment with HTTP Basic Authentication — HTTP Basic Authentication is considered a bit old fashioned but it has some handy, small-scale use cases, such as this.

Andy Croll

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

An Instrumental Intro to GraphQL with Ruby — A nice introduction that uses plain Ruby to serve GraphQL using Agoo, an HTTP server gem.

Peter Ohler

▶  How to Deploy Rails to Production on Ubuntu 18.04 — I’m always grateful for an up to date guide on this stuff. While this is a video, there’s a written guide too.

Go Rails

How I Write Characterization Tests — Not a term I’d heard of before either, but characterization tests essentially define the actual behavior of some code (rather than future intended behavior).

Jason Swett

Use (Space)Vim as a Ruby IDE — A few tips on turning SpaceVim into a powerful Ruby IDE.

Shidong Wang

How to Scale Out Multi-Tenant Rails Apps on PostgreSQL

Citus Data sponsor

Action Cable vs AnyCable: A Comparison — Action Cable or AnyCable? This article shows an analysis of their respective performance.

Maurizio De Santis

▶  Connecting SQS Events to Ruby AWS Lambda Functions with Jets

Tung Nguyen

Creating Raspberry Pi Apps with Raylib and Ruby — Raylib is library used to create GUI and gaming applications. This tutorial is less about how to build such apps and more how to use SWIG to wrap Raylib to use it from Ruby.

Avik Das

🔧 Code & Tools

Passenger 6.0.2 Released — A patch level release for the popular app server.

Camden Narzt (Phusion)

Enums: Safe Enumeration Types for Ruby — Why do we need more than just using constants or a hash for enums? Gerald tries to show us a better way.

Gerald Bauer

Sail 3.0: An Admin Panel for Managing Config Settings on Live Rails Apps

Vinicius Stock

Eight Ruby Frameworks That Aren’t Rails — These tend toward microframeworks (like Cuba) or specializations (like Grape) and it’s a good idea to know they’re out there.

Epifany Bojanowska