This week's Ruby news, issue 272


Ruby News

Ruby 2.3.0 Preview 1 Released

Ruby 2.3 has received the ‘safe navigation operator’ mentioned a few weeks ago. Instead of if x && x.a && x.a.b you could write if x.?a.?b , for example. Frozen strings have also become more efficient.

Riding Rails

Snappier Development Mode in Rails 5

A look at why development mode will be somewhat faster for large code bases on Rails 5. Spoiler: Rails 5 will ship with an evented file system monitor.


In Pursuit of a Scalable Ruby Offline Sort: Adventures in Ruby Memory Management

A look behind the development of offline-sort , a library that can sort large amounts of data using a predictable amount of memory.

Codeship Sponsored

If it works with Docker, it works with Codeship.

Check out the new Codeship with native Docker support. Work with your established Docker workflows while automating your testing and deployment tasks with our hosted platform dedicated to speed and security. Request a free trial now!

Olivier Lacan

Hash Comparison in Ruby 2.3

Ruby 2.3 (now available in preview form) includes support for comparing hashes using comparison operators like >= for checking if one hash contains the keys and values of another.

Starr Horne

Slicing and Dicing Ruby Enumerables

A look at Enumerable’s slice_before , slice_when and slice_after methods.

Brian Shirai

Compute: Amazon Lambda-Inspired Platform on Rubinius

Rubinius Compute is a new effort to build a distributed network of nodes that can run code in the cloud with no persistent server for a single app, a la Lambda.

Chris Kottom

Bulletproof Rails Background Jobs

Reflections on how a developer approaches writing background jobs with some common sense patterns.

Dave Copeland

Simple Rails APIs with Stitches

A look at how a team of engineers took inspiration from Heroku’s HTTP API Design Guide and have used stitches to build simple and explicit Rails-based services.


Technical Operations Engineer at Swiftype (San Francisco, CA) Swiftype combines passion & energy with technical problems we love to work on. We’re a small group of developers building powerful, scalable infrastructure software that pushes boundaries. We’re looking for talented people to join our team. Swiftype Ruby Dev (The Netherlands / Germany) The goal is to make online reservations easy to handle. Our philosophy is simple; Work with the most talented people, Build beautiful code, Deliver the best product. If you’re as passionate as us about code, let’s chat. BookingExperts Expert Ruby Instructors at Pluralsight (Freelance-Part-time) Currently hiring expert Ruby Developers that want to share their knowledge with a global audience. As a Pluralsight author, you'll join a tight knit family of passionate teachers and earn royalties. We are looking for the best communicators and presenters in the Ruby community. Apply today. Pluralsight

In brief

Rails 4.2.5.rc2 and 4.1.14.rc2 Released news Riding Rails FOSDEM Ruby Devroom Call for Presentations news The CFP ends on Dec 1st. FOSDEM is in Brussels, Belgium in late January. RubyBelgium How to Find Ruby Code Smells with Reek tutorial Piotr Szotkowski Using Splats to Build Up and Tear Apart Arrays in Ruby tutorial Starr Horne Trigram Searches in Rails and PostgreSQL for Autocomplete tutorial SitePoint Building A Quick Rails API App tutorial Krypton Labs Create Your Own Scheduler in 10 Minutes with Rails and dhtmlxScheduler tutorial Nishant Upadhyay Building a RSS Feed in Rails tutorial Lugo Labs Design Patterns: The Law of Demeter with Rails tutorial George Chkhvirkia Why Clojure's a Great Next Language for Rubyists opinion Daniel Higginbotham Enumerable - How I Fell in Love with Ruby slidedeck Ross Kaffenberger Processing Data with Kiba ETL: A Live Coding Talk video Thibaut Barrère Graph, correlate, and set alerts on Ruby application metrics tools Easily instrument your Ruby apps to submit custom metrics and events using Datadog's client libraries. Datadog Sponsored Heroku and Passenger: Focus On The App Performance tutorial tools An outline of the approaches and tools Phusion provides for fast Ruby apps on Heroku. Phusion DataDuck ETL: An Extract-Transform-Load Framework for Data Warehousing code Focused on Amazon Redshift right now. Be aware of the licensing. DataDuck Redis Performance Dashboard and Autoscaling from RedisGreen tools Seamless scaling and analytics backed by support from engineers who have been scaling Redis for years. RedisGreen Sponsored offline-sort: Sort Arbitrarily Large Collections of Data with Limited Memory Usage code Salsify