#420 — October 11, 2018

Read on the Web

Ruby Weekly

csvreader: Read CSV-Formatted Tabular Data 'The Right Way' — An attempt at producing a better CSV reading library for Ruby due to issues in the one in the standard library.

Gerald Bauer

Pair With Me: Rubocop Cop that Detects Duplicate Array Allocations“I did have one person report a reasonably huge savings within their actual Rails app where they were chaining methods on a massive array of active record objects.”

Richard Schneeman

Spaces Object Storage Just Got Even Better. Learn More — A built-in CDN provides global edge caching to lower latency and deliver web assets up to 70% faster.

DigitalOcean sponsor

12 Factor CLI Apps — Can you take the ideas from the 12 factor app methodology, originally constructed as a way to structure webapps, and apply it to command line apps? Yes, and here’s how. Note: This is aimed at Node devs, but the principles could be applied to Ruby apps.

Jeff Dickey

The Ruby Testing Podcast — A new(ish) Ruby podcast you might want to add to your favorite podcatcher. The latest episode covers finding the balance between building features and writing tests with Dave Kimura.

The Ruby Testing Podcast

Destructuring in Ruby — Destructuring is a way to pull values from objects or hashes and is (justifiably) popular in modern JavaScript. Brandon brings that idea to Ruby.

Brandon Weaver

What's Coming to Rails 6.0 — Rails 6 isn’t out yet, but this under-development page links to a variety of interesting pull requests and commits. Grab a cup of coffee if you want to try and keep up :-)

Bogdan Denkovych

Nokogiri Affected By Multiple libxml2 Vulnerabilities — This security advisory will particularly affect you if you’re using Nokogiri’s vendored libxml2 library and you should upgrade to the recently released Nokogiri 1.8.5.


💻 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

DevOps / Platform Engineer - Kubernetes, Cloud Foundry, BOSH — Accelerate your experience & build PaaS products that help developers to ship software faster.


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

Ruby Method Lookup, RubyVM.stat, and Global State — Noah gives you another place to look and tool to use when performance is suffering.

Noah Gibbs

The Evolution of Ruby Strings from 1.8 to 2.5 — Strings are one of the data types that have changed the most between different versions of Ruby.

Mehdi Farsi

Lowering Memory Usage of Your Rails App with jemalloc

Marvin Danig

Webinar: Actionable CD Metrics. Use Metrics to Improve Your Processes

GoCD sponsor

Break Your Rails App Into Parts — Did you know you can tell Rails which directories (yes, multiple) to look in for controller files, model files, and almost any other file? Me neither.

Tom Rothe

▶  Service Objects for API Interactions with Twilio“In this episode, learn how to extract the interactions with an external API into a service object so that code is isolated and interchangeable.”

Drifting Ruby

What's a Senior Engineer's Job? — Not Ruby specific, but the creator of rbspy has some insight to share.

Julia Evans

🔧 Code & Tools

render_async: Render View Partials Asynchronously via Ajax2.0 has just been released that drops jQuery as being the default option and introduces error handling.

Rendered Text

Monotime: A Sensible Interface to Monotonic Time in Ruby — Monotonic time is independent of system clock changes and is the only way you should measure elapsed time in your programs.

Thomas Hurst

Honeybadger + GitLab == ❤️ — Do you love GitLab? Honeybadger now supports issue automation, code links, and more. Check it out. 👉

Honeybadger sponsor

Down: Flexible Streaming and Downloading of Remote Files over HTTP — Can use open-uri, Net::HTTP, HTTP.rb or wget behind the scenes.

Janko Marohnić

Doorkeeper: An OAuth 2 Provider for Rails (and Grape) Apps


Dexter: An Automatic Indexer for Postgres — Analyzes queries, creates indexes.

Andrew Kane