#432 — January 10, 2019

Read on the Web

Ruby Weekly

Exploring a Critical Net::Protocol Issue in Ruby 2.6.0p0 — It seems Ruby 2.6.0p0 introduced a serious bug if you do any HTTP communication from Ruby (using libraries like Net::HTTP, say) where certain payloads are getting corrupted. Luckily, a fix is in but we await a new official release so you may want to put off your production upgrades just for now.

Maciej Mensfeld

You Can Use Bundler Without a Gemfile — Did you know that it’s possible to use Bundler within a single Ruby script and without an external Gemfile? For some reason this had never occurred to me and it’ll be a game changer for my many single file scripts.

Victor Afanasev

Run Your Tests 2.1x Faster on Semaphore 2.0. Pay as You Go — Sign up with GitHub, get $200 of free credit, and give it a spin.

Semaphore 2.0 sponsor

Creating Ruby Bindings and Extensions — A practical guide to going native with C. In this case, looking at how a developer built a way for Rubyists to use Uber’s H3 hexagonal geospatial indexing system.

Sean Handley

The Ruby Reference — An attempt to bring together and extend core Ruby documentation for Ruby 2.6 in one place.

zverok

An Update on the Bundler 2 ReleaseLast week, we announced the release of Bundler 2 which depended upon RubyGems 3.0 - this requirement caused some issues so Bundler 2.0.1 (out now) relaxes the requirement to RubyGems 2.5.

Colby Swandale

How Fast is the Released Ruby 2.6.0? — Ruby and Rails benchmarking enthusiast Noah Gibbs is back with some initial results from his process where rather than testing just Ruby itself, he tests a basic Rails app running on Ruby.

Noah Gibbs

💻 Jobs

Love to Pair Program? — BackerKit is hiring developers who LOVE pairing to join our agile team. Join us! Learn more about our team values here.

BackerKit

Find A Job Through Vettery — Vettery matches top tech talent with growing companies. Create your profile to get started.

Vettery

📘 Articles & Tutorials

Bindings and Lexical Scope in Ruby — A concise review of scope and bindings followed by how ERB templates leverage them.

Jeff Kreeftmeijer

▶  Using Action Text in a Rails 5.2 Application — I bet you thought you had to wait for Rails 6 to use Action Text, didn’t you?

Drifting Ruby

Common Mistakes That Cause Rails App Outages — Threads, database connections, timeouts, oh my!

Igor Springer

Active Admin Tips and Performance Optimizations — Active Admin gem is a popular tool for building admin interfaces in Rails apps.

Paweł Urbanek

Debug Faster With Context Based Logging — When done right, logs can be your most powerful debug tool.

Timber.io sponsor

▶  My Vim Setup for Rails“using Vim I can edit circles around anyone using Atom, Visual Studio, Sublime Text or any other non-keyboard-based editor”

Jason Swett

Rails Needs Active Deployment — A call to standardize Rails deployments. “I’m calling out for DHH or anybody else in the Rails community to think about Active Deployment.”

Stefan Wintermeyer

How To Use Environment Variables in Ruby

Jesus Castello beginner

🔧 Code & Tools

TensorStream: Bringing Machine Learning to Ruby — A pure Ruby machine learning framework that’s inspired by TensorFlow but doesn’t require you to get involved with Python at any stage. (Though if you want to use regular TensorFlow, there’s tensorflow.rb too.)

Joseph Emmanuel Dayo

Spin Up a GoCD Continuous Delivery Server in Less Than 5 Minutes

GoCD sponsor

Solargraph: A Ruby Language Server — A set of tools to integrate Ruby code completion and inline documentation into editors, such as VS Code.

Fred Snyder

Ruby 2.6 Ubuntu Packages Now Available — If you’re on Ubuntu and want Ruby 2.6 packaged up nicely, you can thank the folks at Brightbox.

John Leach

pipe_operator: Elixir/Unix Style Pipe Operations in Ruby — It’s just a proof of concept.

LendingHome