#394 — April 12, 2018

Read on the Web

Ruby Weekly

Rails 5.2 Released — The somewhat impressive list of features includes Active Storage, Redis Cache Store, HTTP/2 Early Hints, CSP, and Credentials. It works well with Webpacker 3.0 for your webpack JavaScript bundling needs too.

David Heinemeier Hansson

Measuring Branch and Method Coverage in Ruby 2.5Coverage, part of the standard library, can be used to measure line, branch and method coverage of code.

Vishal Telangre

Fix Production Bugs in Seconds with Sentry — You’re relying on users to report bugs? Use Sentry to fix production issues in real time, right in your existing workflow. Cut time to resolution from 5 hours to 5 minutes. Sentry is 100% open source and loved by 500K developers. Sign up for free.

Sentry sponsor

A Dive into Ruby CVE-2017-17405: Identifying a Vulnerability in Ruby's FTP Implementation — The story and process used by Heroku to find if a new exploit exists in the latest Ruby. The bad news is, it did. The good news is, it’s fixed.

Etienne Stalmans

How to Migrate a Rails App from Heroku to DokkuDokku is a self-hosted Docker-powered platform that’s compatible with Heroku in many ways. Complete with support for Postgres, Sidekiq, and Redis.

Paweł Urbanek

Ruby 2.6 and Why Ahead of Time Compilation Isn't Ready Yet — Looking at the “test-only” JIT options at Ruby 2.6 and why JIT is a non-starter (right now) for Rails apps.

Noah Gibbs

Profiling Ruby's Memory Allocation with TCmalloc — TCmalloc is part of Google’s gperftools suite that Ruby can use and with which you can see how Ruby allocates memory.

Jesus Castello

Hanami 1.2.0 Released — Hanami is a popular alternative webapp framework for Ruby optimized for performance and memory use. This key release adds support for HTTP/2 Early Hints, Unobtrusive JavaScript (UJS), and more.

Luca Guidi

💻 Jobs

Come Work Together with & Empower Creative People at BackerKit — BackerKit is the industry-leading platform for creators. We're building a bunch of neat stuff, come join us.

BackerKit

Ruby on Rails Developer at X-Team (Remote) — We help our developers keep learning and growing every day. Unleash your potential. Work from anywhere. Join X-Team.

x-team

Ruby Expert? Sign Up for Vettery — Developers with four-years experience average five or more interviews during their first week on Vettery.

Vettery

📖 Articles & Opinion

Interactive Debug Sessions in RSpec with Capybara

Tom Dracz

Add SMS Notifications to Your Rails App Using Twilio

Yechiel Kalmenson

Adding Bash Completion to 'db:migrate:down'

Tom Copeland

5 Commercial Use Cases Continue to Prove the Value of Rails — Next time someone tells you Rails is dead, ask them to Hulu and chill.

Engine Yard

Do You Really Need WebSockets? — Alternatives include Server-Sent Events and long polling.

Stanko Krtalić Rusendić

eBook: Efficient Project Management for Small Engineering Teams

Codeship sponsor

▶  Discussing Ruby 3 with Takashi Kokubun

Ruby Rogues

🔧 Code, Tools & Demos

sidekiq_profiling_middleware: A Tool for Profiling Sidekiq

Callum Jones

qo: Pattern Matching and Fluent Querying in Ruby — An experimental pattern matching idea.

Brandon Weaver

Monitoring and Distributed Tracing for Ruby Apps — Get full-stack monitoring and alerting for Ruby apps and 200+ infrastructure integrations. Try Datadog free.

Datadog sponsor

The Ultimate Guide to Ruby Timeouts: Timeouts for Popular Ruby Gems — A list of example timeout code for popular database configuration, adapters, middleware and web servers, and various other gems.

Andrew Kane

mysql2: A Modern, Simple and Fast MySQL Library — The recently released 0.5 is Ruby 2.0+ and MySQL 5.5+ only.

Brian Lopez

facebook_data_analyzer: Analyze Facebook's Copy of Your Data

Przemyslaw Mroczek