Ruby Weekly
Issue 358 — July 20, 2017
Richard Schneeman
How one line, hidden in a common ActiveRecord validation, caused large spikes in database response time and what to do about it.

Tom Van Eyck
A complete rundown of mutexes, condition variables, and how to use them together to write efficient threading code in Ruby.

Simple Programmer  Sponsored
Technical knowledge alone isn't enough—increase your income by leveling up your "soft skills." Learn new skills faster, command more respect, find work you love, and earn what you're worth. Get the book for $0.99 (48 hours only).

Simple Programmer

Practical AI
Continuing a series on AI in Ruby, how to implement a Support Vector Machine (SVM) to solve a simple classification problem.

Stefan Wintermeyer
A response to last week’s Is Ruby Too Slow for Webscale that takes issue with Rails being fast enough.
It essentially bundles a Ruby interpreter along with your code into an executable, so not a compiler in the classic sense. GitHub repo.

Fred Heath
Nim is a statically-typed language with lots of syntactic sugar that can be called from Ruby as shown in this post.


  • Senior Rails Engineer at BugsnagBugsnag is used by engineers around the world to deliver higher quality software every day. Join our team and help build the future of error monitoring. Bugsnag
  • Full stack Ruby and Rails dev (remote)We’re a growing realtime platform solving truly complex distributed problems for the developer community. If you enjoy challenging your grey matter and building great web services, apply. ABLY.IO

In brief