---
title: "#384: Rails 5.2 RC1, Passenger 5.2, and yield_self goodies"
publication: "Ruby Weekly"
issue: 384
published_at: "2018-02-01"
canonical_url: "https://rubyweekly.com/issues/384"
---

#384: Rails 5.2 RC1, Passenger 5.2, and yield_self goodies

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

Ruby WeeklyIssue 384 — February 1, 2018

David Heinemeier Hansson[Rails 5.2 Release Candidate 1 Released](http://weblog.rubyonrails.org/2018/1/30/Rails-5-2-RC1-Active-Storage-Redis-Cache-Store-HTTP2-Early-Hints-Credentials/)The beta period is over and we’re headed for final release with Rails 5.2 introducing Active Storage, the Redis Cache Store, HTTP/2 Early Hints, and more.


Evil Martians[Rails 5.2 Tutorial: Active Storage and Beyond](https://evilmartians.com/chronicles/rails-5-2-active-storage-and-beyond)Not just interested in the news of the release (above)? This post covers much more including Active Storage, credentials, the Current singleton, CSP configuration, and Bootsnap.


Phusion[Passenger 5.2 Released: The Ruby (and More) App Server](https://blog.phusion.nl/2018/01/29/passenger-5-2-0/)Features a major refactoring of configuration option handling which now supports _per application_ options. Ruby 2.5 support has also improved.


CodeshipSponsored[eBook: Using Docker and Codeship for Ruby Development](https://resources.codeship.com/ebooks/docker-and-codeship-for-continuous-integration-ruby?utm_source=email-sponsorship&utm_medium=cpc-ruby-weekly-primary&utm_campaign=ruby-docker-codeship)Learn how to develop and test a Ruby app with Docker compose and how to further create a CI/CD pipeline for your app using Codeship.

[![Codeship\](https://copm.s3.amazonaws.com/9efb2c31.png)](https://resources.codeship.com/ebooks/docker-and-codeship-for-continuous-integration-ruby?utm_source=email-sponsorship&utm_medium=cpc-ruby-weekly-primary&utm_campaign=ruby-docker-codeship)


Netflix Technology Blog[Fast JSON API Serialization with Rails](https://medium.com/netflix-techblog/fast-json-api-serialization-with-ruby-on-rails-7c06578ad17f)Netflix is open sourcing a [Fast JSON API gem](https://github.com/Netflix/fast_jsonapi) which boasts 25 times faster serialization than Active Model Serializer.


Lazarus Lazaridis[How to Build a Simple GTK+ ToDo Desktop App](http://iridakos.com/tutorials/2018/01/25/creating-a-gtk-todo-application-with-ruby)A very thorough walkthrough of building a Linux desktop app with Ruby.


Victor Shepelev[yield_self Is More Awesome Than You Think..](http://zverok.github.io/blog/2018-01-24-yield_self.html)Several examples of Ruby 2.5’s all-new `yield_self` cleaning up older, uglier blocks of code.


Julia Evans[Spying on a Ruby Process's Memory Allocations](https://jvns.ca/blog/2018/01/31/spying-on-a-ruby-process-s-memory-allocations/)Scrappy and fascinating work digging into Ruby processes from ‘behind the scenes’.


Jobs

- [Gusto Is Hiring Great Rails Engineers (SF or Denver)](https://gusto.com/about/careers?utm_source=ruby-weekly&utm_medium=email&utm_campaign=ruby-weekly-2018-02-01)Join us to help thousands of small businesses run payroll and offer health benefits, letting them focus on what they do best. Gusto
- [Ruby Developer at Econify (New York, NY)](http://www.econify.com/?utm_source=rubyweekly=email#contact)We’re currently seeking a senior Ruby developer to work on Rails applications both new and old. Come join a great team. econify
- [Looking for a Job at a Company That Prioritizes Ruby?](https://www.vettery.com/tech?utm_medium=cooper-rubyweekly&utm_campaign=ad-1767&utm_source=newsletter&utm_content=grouped&utm_term=tech)Try Vettery and we’ll connect you directly with thousands of companies looking for talented back-end devs. Vettery

In brief

- [Ruby Together's 2017 Year End Update](https://rubytogether.org/news/2018-01-07-december-monthly-and-2017-yearly-update?utm_source=rubyweekly&utm_medium=email) news 
.. including info on how they spent their $284k budget. Ruby Together
- [Four Important Metrics for Continuous Delivery](https://www.gocd.org/2018/01/31/continuous-delivery-metrics/?utm_campaign=cd_metrics_blog&utm_medium=email&utm_source=cooperess_ruby&utm_content=cd_metrics_blog&utm_term=) GoCDSponsored
- [How to Switch From Pow to Puma for Local Development](https://stormconsultancy.co.uk/blog/development/ruby-on-rails/switching-pow-puma-rails-development/?utm_source=rubyweekly&utm_medium=email) tutorial 
It’s time to move on, so this is a strongly recommended move. Barry Woolgar
- [Using Ruby 2.5's New Thread#fetch Method](https://medium.com/@atul9/ruby-2-5-adds-thread-fetch-method-416dc56b5366?utm_source=rubyweekly&utm_medium=email) tutorial Atul Bhosale
- [Making an SSL Proxy for 'Insecure' Content with Ruby and NGINX](https://pawelurbanek.com/2018/01/29/setup-ssl-proxy-for-insecure-browser-content-with-ruby-and-nginx/?utm_source=rubyweekly&utm_medium=email) tutorial 
A way to handle warnings about insecure images and other content. Paweł Urbanek
- [Dockerizing a Rails App](http://blog.scoutapp.com/articles/2018/01/02/dockerizing-a-rails-app?utm_source=rubyweekly&utm_medium=email) tutorial 
First in a series on deploying a Rails app to AWS using Docker. Bradley Price
- [Goodbye Secrets. Welcome Credentials](https://medium.com/@wintermeyer/goodbye-secrets-welcome-credentials-f4709d9f4698?utm_source=rubyweekly&utm_medium=email) tutorial 
Rails 5.2 adds credentials in lieu of secrets making the workflow much simpler. Stefan Wintermeyer
- [Understanding Redux Concepts by Implementing Them in Ruby](https://medium.com/cloudaper/understanding-redux-store-concepts-by-little-ruby-reimplementation-d08bcc05dee8?utm_source=rubyweekly&utm_medium=email) tutorial 
Redux uses concepts like reducers, dispatching actions, and listeners to manage a single state object. Josef Strzibny
- [Approaches to API Versioning with Rails](https://yalantis.com/blog/api-versioning-with-ruby-on-rails/?utm_source=rubyweekly&utm_medium=email) tutorial Alexey Suhoviy
- [Postgres Tip: Working With Dates Using the EXTRACT Function](https://karolgalanciak.com/blog/2018/01/30/postgresql-quick-tips-working-with-dates-using-extract-function/?utm_source=rubyweekly&utm_medium=email) tutorial Karol Galanciak
- [Spin Up a Ruby App Server in Seconds with a Free $100 Credit](https://try.digitalocean.com/performance/?utm_source=paid_newsletter+ruby+weekly&utm_medium=display&utm_campaign=PricePerf+dr+free+newsletter+trial&utm_content=2-1-2018+ruby+weekly+cooperpress) tools 
Ruby on Rails one-click image with DigitalOcean lets you to deploy in seconds. [Try it now](https://try.digitalocean.com/performance/?utm_source=paid_newsletter+ruby+weekly&utm_medium=display&utm_campaign=PricePerf+dr+free+newsletter+trial&utm_content=2-1-2018+ruby+weekly+cooperpress). DigitalOceanSponsored
- [Rubrowser: A Ruby Code Dependency Graph Interactive Visualizer](https://github.com/emad-elsaid/rubrowser?utm_source=rubyweekly&utm_medium=email) tools Emad Elsaid
- [Localer: A Tool to Automatically Detect Missing i18n Translations](https://github.com/aderyabin/localer?utm_source=rubyweekly&utm_medium=email) tools Andrey Deryabin
- [There’s a Bug in your Ruby Code. Fix it](https://start.sentry.io/for/ruby?utm_source=advertisement&utm_medium=display&utm_content=rubyweekly&utm_campaign=sponsorship) tools SentrySponsored
- [TTY: The Ruby Terminal Apps Toolkit](http://piotrmurach.github.io/tty/?utm_source=rubyweekly&utm_medium=email) code 
An ecosystem of gems for building elegant command line apps. Piotr Murach
- [Gutentag: A Simple, Solid Tagging Extension for ActiveRecord](https://github.com/pat/gutentag?utm_source=rubyweekly&utm_medium=email) code 
.. and already tested with Rails 5.2.0rc1 even. Pat Allan

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

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