---
title: "#370: Ruby 2.5 Preview 1 Released"
publication: "Ruby Weekly"
issue: 370
published_at: "2017-10-12"
canonical_url: "https://rubyweekly.com/issues/370"
---

#370: Ruby 2.5 Preview 1 Released

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

Ruby WeeklyIssue 370 — October 12, 2017

Yui Naruse[Ruby 2.5 Preview 1 Released](https://www.ruby-lang.org/en/news/2017/10/10/ruby-2-5-0-preview1-released/)The first official preview release of 2.5 is here (fingers crossed for a final release at Christmas).


Aaron Patterson[Unsafe Object Deserialization Vulnerability in RubyGems](http://blog.rubygems.org/2017/10/09/unsafe-object-deserialization-vulnerability.html)Read this for the full explanation of the problem and the very speedy fix.


Tom Benner[ReportsKit: Add Reporting to Your Rails App in Minutes](https://www.reportskit.co/)A library for quickly adding interactive charts and tables for reporting purposes to a Rails app.


DepfuSponsored[Spend less time updating your Rails app](https://depfu.com/?utm_source=rubyweekly&utm_campaign=primary&utm_content=lesstime)Depfu continuously updates your dependencies one gem at a time and creates a super nice pull request with all the info you need. You stay in control if and when to merge.

[![Depfu\](https://copm.s3.amazonaws.com/4473eddd.png)](https://depfu.com/?utm_source=rubyweekly&utm_campaign=primary&utm_content=lesstime)


Luca Guidi[Introducing hanami-cli: A New Framework for Command Line Tools](https://lucaguidi.com/2017/10/10/introducing-hanami-cli/)hanami-cli is a gem for creating command line applications that support subcommands and extensibility. The Hanami project has replaced [Thor](https://github.com/erikhuda/thor) with this.


ruby-lang.org[Top-Level Constant Lookup Removed in Ruby 2.5](https://bugs.ruby-lang.org/issues/11547)Previously, if you referenced a constant in a scope that didn’t have the constant, Ruby would confusingly look for a top-level constant with the same name. No more.


Alessandro Minali[Monkey Patching in Ruby: A Real World Example](https://alessandrominali.github.io/monkey_patching_real_example)How some folks working on [Surrealist](https://github.com/nesaulov/surrealist) (a PORO to JSON serialization library) answered the question “To Monkey Patch or Not To Monkey Patch?”


Jason Charnes[Organizing My First Conference: Southeast Ruby](https://jasoncharnes.com/organizing-southeast-ruby/)Organizing a conference is a mix of joy, sweat, and fear. Here is an in-depth look at what it took for Southeast Ruby.


Jobs

- [Join the BackerKit Engineering Team](https://www.backerkit.com/jobs?utm_source=rubyweekly&utm_medium=email)BackerKit is the leading platform for creators that want to focus on creating. We're building a bunch of neat stuff, come join us. BackerKit
- [Ruby Enthusiasts Wanted at Runtastic (Austria)](https://goo.gl/kVRFU7?utm_source=rubyweekly&utm_medium=email)Are you up for new challenges with Ruby? Our awesome backend developer team is looking for passionate professionals. Join now. Runtastic
- [Ruby on Rails Developer at X-Team (Remote)](https://x-team.com/ruby-on-rails-developer/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=ruby-weekly-q2-17)We help our developers keep learning and growing every day. Unleash your potential. Work from anywhere. [Join X-Team](https://x-team.com/ruby-on-rails-developer/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=ruby-weekly-q2-17). X-Team
- [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

- [Rails 5.2 Adds Options for Signed and Encrypted Cookies](https://blog.bigbinary.com/2017/10/09/expirty-option-for-signed-and-encrypted-cookies-in-Rails-5-2.html?utm_source=rubyweekly&utm_medium=email) news 
You can also specify a relative expiry time. BigBinary Blog
- [RubyElixirConf Taiwan 2018 Call For Papers Open](https://cfp.rubyconf.tw/activities/2018?utm_source=rubyweekly&utm_medium=email) news 
The conference, taking place next April, has expanded to include Elixir. RubyConf Taiwan
- [New Book Released, 'Mastering Ruby Strings and Encodings'](https://aaronlasseigne.com/books/mastering-ruby/strings-and-encodings/?utm_source=rubyweekly&utm_medium=email) news 
Learn everything there is to know about strings and encodings. _Note: It costs, but it’s solid._ Aaron Lasseigne
- [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-secondary&utm_campaign=forrester-wave-ci-report) 
Codeship ahead of IBM, TravisCI, Atlassian, and more. Download the report for free. CodeshipSponsored
- [Receiving and Parsing Email in Rails 5 Using Griddler and Mailgun](https://hackernoon.com/receiving-and-parsing-email-in-rails-5-c975c2766364?utm_source=rubyweekly&utm_medium=email) tutorial Rob Race
- [HTTP2 Early Hints in Rails 5.2+](http://eileencodes.com/posts/http2-early-hints/?utm_source=rubyweekly&utm_medium=email) tutorial 
A look at an HTTP2 feature for specifying assets you want a client to load early. Eileen M. Uchitelle
- [A Look at Ruby 2.5's Improved Stacktraces](http://mlomnicki.com/improved-stascktrace-display-in-ruby25/?utm_source=rubyweekly&utm_medium=email) tutorial Michał Łomnicki
- [Extracting a Class from a Method](https://boykoc.github.io/ruby/rubyonrails/2017/10/06/extract-a-class-from-method.html?utm_source=rubyweekly&utm_medium=email) tutorial Cody Boyko
- [We’ve solved your ROR Operations needs](https://reinteractive.com/enquiries/new?code=ops_care&sid=134) 
DevOps solutions for ROR with expert 24/7 monitoring and support. OpsCare by reinteractiveSponsored
- [7 Little-Known Ruby Methods To Help You Write Better Code](http://www.rubyguides.com/2017/10/7-powerful-ruby-methods/?utm_source=rubyweekly&utm_medium=email) tutorial Jesus Castello
- [Upload Images to S3 in GraphQL Using Rails and Paperclip](http://graphqlme.com/2017/09/16/upload-images-to-s3-in-graphql-using-rails-and-paperclip/?utm_source=rubyweekly&utm_medium=email) tutorial Matt Engledowl
- [PDF Filter Implementation in HexaPDF Using Fibers](https://gettalong.org/blog/2017/pdf-filter-implementation-in-hexapdf-using-fibers.html?utm_source=rubyweekly&utm_medium=email) tutorial 
PDF streams can be run through a pipeline of filters, which fits Ruby fibers very nicely. Thomas Leitner
- [A Guide to Understanding the Rails Directory Structure](https://github.com/jwipeout/rails-directory-structure-guide?utm_source=rubyweekly&utm_medium=email) tutorial 
Goes beyond the official guides and looks at folders created by common gems and RSpec. Joshua Cavin
- [Updating Deeply Nested Attributes with RSpec](http://noelworden.com/2017/10/04/nested-attributes-rspec/?utm_source=rubyweekly&utm_medium=email) tutorial Noel Worden
- [A Basic (Re)Introduction to Testing in Rails 5.1](https://www.driftingruby.com/episodes/basic-testing-introduction-in-rails?utm_source=rubyweekly&utm_medium=email) video Drifting Ruby
- [nullalign: Generate Warnings for Missing Not-Null Constraints](https://thomasleecopeland.com/2017/09/28/announcing-nullalign.html?utm_source=rubyweekly&utm_medium=email) tools Tom Copeland
- [The Road to Ruby and Rails Error Domination Starts Here](https://rollbar.com/rubyweekly?utm_source=rubyweekly&utm_medium=email) tools RollbarSponsored
- [PgParty: PostgreSQL 10 Partitioning for ActiveRecord](https://github.com/rkrage/pg_party?utm_source=rubyweekly&utm_medium=email) code Ryan Krage

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/370)

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