---
title: "A roundup of new features in Ruby 2.4, a review of Ruby code reloaders"
publication: "Ruby Weekly"
issue: 307
published_at: "2016-07-21"
canonical_url: "https://rubyweekly.com/issues/307"
---

A roundup of new features in Ruby 2.4, a review of Ruby code reloaders

This week's Ruby and Rails news[Read this e-mail on the Web](http://rubyweekly.com/issues/307)

Ruby WeeklyIssue 307 — July 21, 2016

John Backus[New Features in Ruby 2.4](https://blog.blockscore.com/new-features-in-ruby-2-4/)A quick, example-driven overview of numerous improvements and new features coming to Ruby 2.4, including `Integer#digits`, `File.empty?` and faster regex matching.


Janko Marohnić[Partial Downloads with Enumerators and Fibers](https://twin.github.io/partial-downloads-with-enumerators-and-fibers/)A look at the motivations for supporting partial file downloads in an HTTP client library and how some experiments have led to [down](https://github.com/janko-m/down) (an open-uri wrapper) supporting chunked downloading.


ROLLBARSponsored[Find and Fix Ruby Errors Faster (and have fun doing it)](https://rollbar.com/?utm_source=ruby_weekly&utm_medium=email-nl&utm_term=ruby_weekly_7_21&utm_campaign=nl_sponsorship)Quickly pinpoint what’s broken and why. Get the context and insights to defeat all Ruby errors.

[![ROLLBAR\](https://copm.s3.amazonaws.com/378fb2ff.png)](https://rollbar.com/?utm_source=ruby_weekly&utm_medium=email-nl&utm_term=ruby_weekly_7_21&utm_campaign=nl_sponsorship)


Rodrigo Rosenfeld Rosas[A Review of Code Reloaders for Ruby](http://rosenfeld.herokuapp.com/en/articles/ruby-rails/2016-07-18-a-review-of-code-reloaders-for-ruby)_Reloading_ is the concept of re-executing Ruby code when it changes. This article looks at the main approaches taken by Ruby developers.


Ardian Haxha[Automate Docker with Ruby and the Remote API](https://www.sitepoint.com/automate-docker-with-the-remote-api-and-ruby/)A demonstration of using Docker’s Remote API from Ruby to perform tasks like image and container creation.


Bear Metal[TuneMyGC: Get MRI Ruby 2.1+ Garbage Collection Settings](https://github.com/bear-metal/tunemygc)Not brand new but now updated for Ruby 2.3, TuneMyGC is an agent you run against your Ruby code, then a report is produced of ideal GC settings to try.


Jobs

- [Developer Evangelist at Semaphore CI (remote)](http://renderedtext.com/jobs/developer-evangelist/?utm_source=rubyweekly&utm_medium=email&utm_content=rubyweekly-20160719&utm_campaign=jobs)We're on a mission to make software delivery awesome. Join us and work on helping our users be more awesome. Rendered Text
- [Ruby on Rails Engineer at Instacart (San Francisco)](https://inst.cr/t/gYp1XV?utm_source=rubyweekly&utm_medium=email)Less than 2% of US grocery spend last year was online. We're going to change that. Come work with us on fun, challenging problems and have a huge impact. Instacart
- [Find Your Perfect Company Match](https://hired.com/?utm_source=newsletters&utm_medium=petercooperpress&utm_campaign=q3-16-rubyweekly)You're smart, you're efficient. Why job hunt the old way? Try Hired and get your profile in front of thousands of top tech companies. Hired.com

In brief

- [RubyDay (RubyConf Italy) 2016 in Florence, November 25-26](http://www.rubyday.it/?utm_source=rubyweekly&utm_medium=email) news
- [99 Bottles of OOP: A New Book by Sandi Metz & Katrina Owen](http://www.sandimetz.com/99bottles/?utm_source=rubyweekly&utm_medium=email) news Sandi Metz
- [The Post Rails Book Bundle (Available Until Tomorrow)](http://www.railsbookbundle.com/?utm_source=rubyweekly&utm_medium=email) news 
A book bundle covering areas of building Ruby webapps beyond what Rails offers. _(We’re not affiliated with this.)_ Krzywda, Sutterer, Bowkett, et al.
- [Kasper Timm Hansen Joins Rails Core](http://weblog.rubyonrails.org/2016/7/19/Kasper-joins-Rails-core/?utm_source=rubyweekly&utm_medium=email) news David Heinemeier Hansson
- [Clean Up Your Routes with Sinatra::Namespace](http://zzak.io/log/2016-07-20-clean-up-your-routes-with-sinatra-namespace.html?utm_source=rubyweekly&utm_medium=email) tutorial 
A more modular way to write your Sinatra app’s routes. Zachary Scott
- [Writing A Middleware for Your Sinatra App](https://blog.codeminer42.com/writing-a-middleware-for-your-sinatra-app-24982d12f14d?utm_source=rubyweekly&utm_medium=email) tutorial Igor Marques da Silva
- [Advanced Techniques with Ruby's Case Statement](http://blog.honeybadger.io/rubys-case-statement-advanced-techniques/?utm_source=rubyweekly&utm_medium=email) tutorial 
Worth revisiting from last year. Starr Horne
- [Implementing and Testing SOAP API Clients in Ruby](http://blog.arkency.com/2016/07/testing-soap-api-adapters/?utm_source=rubyweekly&utm_medium=email) tutorial Robert Pankowecki
- [How To Parse HTML with Ruby and Nokogiri](http://readysteadycode.com/howto-parse-html-with-ruby-and-nokogiri?utm_source=rubyweekly&utm_medium=email) tutorial Tim Craft
- [Download free eBook: Continuous Integration and Continuous Delivery with Docker.](http://resources.codeship.com/ebooks/continuous-integration-continuous-delivery-with-docker?utm_source=rubyweeklysecondary) tutorial 
In this eBook you will learn how to set up a Continuous Delivery Pipeline with Docker and containers. CodeshipSponsored
- [The 'Goal' of Performance Tuning](https://blog.codeship.com/goal-performance-tuning/?utm_source=rubyweekly&utm_medium=email) opinion Richard Schneeman
- [AutoReloader: A New Transparent Automatic Code Reloader for Ruby](http://rosenfeld.herokuapp.com/en/articles/ruby-rails/2016-07-18-autoreloader-a-transparent-automatic-code-reloader-for-ruby?utm_source=rubyweekly&utm_medium=email) tools Rodrigo Rosenfeld Rosas
- [Did you know your users hate your CSV exports?](https://www.cloudxls.com/guides/ruby?utm_source=rubyweekly&utm_content=guides_ruby&utm_campaign=rw20160721) tools 
Turn your CSV dumps into well-formatted, native Excel files - within minutes. CLOUDXLSSponsored
- [JohnHancock: A Rails Gem for Custom Signature Form Fields](https://github.com/Brantron/john_hancock?utm_source=rubyweekly&utm_medium=email) code 
Uses HTML5 Canvas. Brandon Lawrence
- [Down: An open-uri Wrapper That Improves Upon open-uri](https://github.com/janko-m/down?utm_source=rubyweekly&utm_medium=email) code 
Supports maximum size limits, redirect configs, streaming and more. Janko Marohnić
- [Ytry: A Scala-Inspired Implementation of Try for Ruby](https://github.com/lbarasti/ytry?utm_source=rubyweekly&utm_medium=email) code 
A concept from Scala that could replace `rescue` blocks. Lorenzo Barasti
- [sinatra-logger: 'Better Looking' Logging for Sinatra](https://github.com/minodes/sinatra-logger?utm_source=rubyweekly&utm_medium=email) code Minodes

Curated by [Peter Cooper](https://twitter.com/peterc) and [Glenn Goodrich](https://twitter.com/ruprict), and published by [Cooperpress](https://cooperpress.com/).
Send feedback by simply replying to this mail.
Want to sponsor an issue? See our [media kit.](https://cooperpress.com/mediakit)
Want to post a job? Email us or [use our self-serve system.](https://booking.cooperpress.com/jobs)

[Unsubscribe](*|UNSUB|*) | [Change email address](*|UPDATE_PROFILE|*) | [Read this issue on the Web](http://rubyweekly.com/issues/307)

© Cooperpress Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
