---
title: "#372: Ten New Features in Ruby 2.5"
publication: "Ruby Weekly"
issue: 372
published_at: "2017-10-26"
canonical_url: "https://rubyweekly.com/issues/372"
---

#372: Ten New Features in Ruby 2.5

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

Ruby WeeklyIssue 372 — October 26, 2017

RubyMine Blog[10 New Features in Ruby 2.5](https://blog.jetbrains.com/ruby/2017/10/10-new-features-in-ruby-2-5/)Bundler is now bundled with the standard library, backtraces are experimentally shown in reverse order, and more.


Mike Perham[Introducing Faktory: A New Background Job System](http://www.mikeperham.com/2017/10/24/introducing-faktory/)Built by the creator of the successful Sidekiq background processing framework, Faktory aims to be more language agnostic, among other things. It has [an official Ruby client](https://github.com/contribsys/faktory_worker_ruby), naturally.


CodeshipSponsored[Codeship Ranked Amongst Top 5 Continuous Integration Vendors by Forrester](https://codeship.com/forrester-wave-continuous-integration-report?utm_source=email-sponsorship&utm_medium=cpc-ruby-weekly-primary&utm_campaign=forrester-wave-ci-report)Codeship ahead of IBM, AWS, Atlassian, and more. To be considered for Forrester’s report, companies needed to have a comprehensive CI product with a strong vision, more than 25 paying enterprise companies, and a strong product vision.

[![Codeship\](https://copm.s3.amazonaws.com/8c1f052f.png)](https://codeship.com/forrester-wave-continuous-integration-report?utm_source=email-sponsorship&utm_medium=cpc-ruby-weekly-primary&utm_campaign=forrester-wave-ci-report)


Thoughtbot[FactoryGirl Has Been Renamed to FactoryBot](https://robots.thoughtbot.com/factory_bot)The popular library for defining objects during testing has renamed. This will require [some changes](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) if you want to keep using new versions.


Daniel P. Clark[Creating Configuration Objects in Ruby](https://blog.codeship.com/creating-configuration-objects-in-ruby/)Configuration layers and the methods for their storage can vary greatly. Here’s how to implement configuration objects in Ruby.


Arkency Blog[Relative Testing vs Absolute Testing](http://blog.arkency.com/relative-testing-vs-absolute-testing/)A subtle mind shift that serves as another approach to making your tests resilient and complete.


Tom Dalling[Replacing Mocks With Hand-Written Test Doubles](https://www.rubypigeon.com/posts/replacing-mocks-with-handwritten-test-doubles/)If you reach for mocks when needing to stub out methods on objects under test, a hand-written test double may be a much better fit.


Jobs

- [Lead Application Engineer](https://jobs.lever.co/grandrounds/f685c7d6-c25d-4ca5-9ef1-859c617ea638?utm_source=rubyweekly&utm_medium=email)Make a big impact every day bettering health outcomes by joining an amazing team working on a modern tech stack of RoR, React, and GraphQL. Grand Rounds
- [Senior Ruby Engineer (Singapore)](https://tradegecko.workable.com/j/D3BBBE6616?utm_source=rubyweekly&utm_medium=email)We’re building the world’s leading order and inventory management platform, redefining B2B commerce to make boring business software a thing of the past. TradeGecko
- [Full Stack Rails Engineer (Remote in US, Canada, Brazil)](https://internal.interviewed.com/jobs/full-stack-engineer-hdaw?source=rubyweekly)Help us make the hiring process better for 100m+ job seekers across the globe. Work on product, scalability or internal tools. Interviewed (acquired by Indeed)

In brief

- [Ruby 2.5 Allows 'rescue/else/ensure' Inside 'do/end' Blocks](https://blog.bigbinary.com/2017/10/24/ruby-2.5-allows-rescue-inside-do-end-blocks?utm_source=rubyweekly&utm_medium=email) news Amit Choudhary
- [RSpec 3.7 Released: Now Integrates with Rails 5.1 System Tests](http://rspec.info/blog/2017/10/rspec-3-7-has-been-released/?utm_source=rubyweekly&utm_medium=email) news Sam Phippen
- [PhantomJS Replaced with Chrome Headless in Rails](https://github.com/rails/rails/pull/30930?utm_source=rubyweekly&utm_medium=email) news
- [24/7 Operations Support Built for ROR](https://reinteractive.com/enquiries/new?code=ops_care&sid=135) 
Keep your team busy building your app, not solving ops headaches. Unlimited deploys, immediate roll-back and more. OpsCare by reinteractiveSponsored
- [Replacing RVM/rbenv with ASDF](http://www.akitaonrails.com/2017/10/24/replacing-rvm-rbenv-nvm-etc-for-asdf?utm_source=rubyweekly&utm_medium=email) tutorial 
asdf is a version manager for many languages, not just Ruby. Fabio Akita
- [A Quick Guide to Rails System Tests in RSpec](https://medium.com/table-xi/a-quick-guide-to-rails-system-tests-in-rspec-b6e9e8a8b5f6?utm_source=rubyweekly&utm_medium=email) tutorial Noel Rappin
- [DIY Google reCAPTCHA with Rails](http://www.thegreatcodeadventure.com/google-recaptcha-ruby/?utm_source=rubyweekly&utm_medium=email) tutorial 
A solid example implementation using reCAPTCHA to make sure your site isn’t overrun by bots. Sophie DeBenedetto
- [Bridging Rails and Node.js with gRPC](https://product.reverb.com/bridging-rails-nodejs-with-grpc-5cb58e03189c?utm_source=rubyweekly&utm_medium=email) tutorial 
gRPC generates client stubs in many languages based on defined service schemas. Reverb
- [A 7-Step Approach to Rails Upgrades](http://teohm.com/blog/rails-upgrade-practical-guide/?utm_source=rubyweekly&utm_medium=email) tutorial Huiming Teo
- [Trying Out Rails 5.1.x](http://www.akitaonrails.com/2017/10/24/beginner-trying-out-rails-5-1-x?utm_source=rubyweekly&utm_medium=email) tutorial 
_“So, what are you missing if you’re still in Rails 4.2?”_ Fabio Akita
- [2 Ways to Test Eager Loading of ActiveRecord Associations in Rails](http://blog.arkency.com/two-ways-for-testing-preloading-eager-loading-of-activerecord-association-in-rails/?utm_source=rubyweekly&utm_medium=email) tutorial Arkency Blog
- [Integrating React in a 6+ Year Old Rails App](https://blog.codeship.com/integrating-react-in-a-6-year-old-rails-app/?utm_source=rubyweekly&utm_medium=email) story Corinne Kunze
- [Please Stop Calling It 'Magic'](http://zverok.github.io/blog/2017-10-22-stop-magic.html?utm_source=rubyweekly&utm_medium=email) opinion 
Unless you think inheritance, composition, monkey-patching, and metaprogramming are magic. Victor Shepelev
- [Expert’s Guide: Should I Hire a Ruby DevOps or Outsource It?](https://www.engineyard.com/should-i-hire-devops-ppc?utm_source=rubyweekly&utm_medium=email) Engine YardSponsored
- [Feature Testing with Capybara](https://www.driftingruby.com/episodes/feature-testing-with-capybara?utm_source=rubyweekly&utm_medium=email) video Drifting Ruby
- [Action Cable Testing Utilities](https://github.com/palkan/action-cable-testing?utm_source=rubyweekly&utm_medium=email) tools 
For testing message broadcasts and channels. Vladimir Dementyev
- [7 Gems Which Will Make Your Rails Code Look Awesome](https://blog.rubyroidlabs.com/2017/10/7-gems-rails-code/?utm_source=rubyweekly&utm_medium=email) tools RubyRoid Labs
- [Reduce The Time Spent on Bugs by 99%](https://rollbar.com/rubyweekly?utm_source=rubyweekly&utm_medium=email) tools 
Instantly know whats broken & why. Real-time monitoring, alerting, analytics for Ruby errors w/ Rollbar. ROLLBARSponsored
- [Hanami 1.1 Released](http://hanamirb.org/blog/2017/10/25/annoucing-hanami-110.html?utm_source=rubyweekly&utm_medium=email) code Luca Guidi
- [rom-factory: A Data Generator for Ruby Object Mapper (ROM)](http://rom-rb.org/blog/announcing-rom-factory/?utm_source=rubyweekly&utm_medium=email) code Piotr Solnica

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)

[Stop getting Ruby Weekly](*|UNSUB|*) | [Change email address](*|UPDATE_PROFILE|*) | [Read this issue on the Web](http://rubyweekly.com/issues/372)

© Cooperpress Ltd, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
