---
title: "This week's Ruby news, issue 288"
publication: "Ruby Weekly"
issue: 288
published_at: "2016-03-11"
canonical_url: "https://rubyweekly.com/issues/288"
---

This week's Ruby news, issue 288

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

Ruby WeeklyIssue 288 — March 11, 2016

Do not adjust your set - you're getting Ruby Weekly on Friday this week. I've been chairing a conference and ran out of time, but back on schedule next week :-)
_- Peter Cooper, your humble editor_

Parker Selbert[Surrogate WebSockets Alongside Rails](http://blog.codeship.com/surrogate-websockets/)ActionCable will be fine for a small number of sessions, but scaling persistent connections to thousands may not be so easy. Here’s a way to lean on the power of Elixir to help Rails out.


Ilya Bodrov-Krukowski[Onwards to Rails 5: Additions, Changes, and Deprecations](http://www.sitepoint.com/onwards-to-rails-5-additions-changes-and-deprecations/)A practical look at some of the changes in Rails 5 and how to be prepared for upgrading your apps.


Jerry D'Antonio[Functional Ruby: Functional Programming Tools for Ruby](https://github.com/jdantonio/functional-ruby)Inspired by Erlang, Clojure, Haskell, and Functional Java.


Honeybadger.ioSponsored[Route exception notifications to DataDog, PagerDuty, OpsGenie and Victorops](http://blog.honeybadger.io/announcing-datadog-opsgenie-and-victorops-integrations/?utm_source=rubyflow&utm_medium=email&utm_campaign=blogpost)Honeybadger just launched several new integrations that make it easier than ever to integrate exception monitoring into your ops workflow.

[![Honeybadger.io\](https://copm.s3.amazonaws.com/cea48bd6.png)](http://blog.honeybadger.io/announcing-datadog-opsgenie-and-victorops-integrations/?utm_source=rubyflow&utm_medium=email&utm_campaign=blogpost)


Richard LaFranchi[Vue.js and Rails](https://rlafranchi.github.io/2016/03/09/vuejs-and-rails/)A walkthrough of creating a Rails app that uses [Vue.js](http://vuejs.org/), a reactive interface component library for the front-end.


Leigh Halliday[How to Build Rails APIs Following the json:api Spec](http://blog.codeship.com/the-json-api-spec/)A look at producing a web API that’s standards-compliant and follows the well fleshed out and defined [json:api](http://jsonapi.org/) spec.


Robert Qualls[Improve Your Ruby with the Adapter Design Pattern](http://www.sitepoint.com/using-and-testing-the-adapter-design-pattern/)A quick but code heavy look at how the ‘adapter’ pattern is used by multi_json, ActiveRecord, and Moneta, and then how to use it yourself.


Julia Evans[Surprises in Ruby HTTP Libraries](http://jvns.ca/blog/2016/03/04/whats-up-with-ruby-http-libraries/)There are essentially 4 _underlying_ HTTP libraries (Net::HTTP, Excon, httpclient, and libcurl) with others building on top.


Jobs

- [Lead Product Engineer, Billing Payments (London, UK)](https://engineering.alphasights.com/positions/software-engineering-billing&payments-lead?utm_source=rubyweekly&utm_medium=email)You’ll build that software that creates our financial infrastructure and allows us to operate. You’ll lead a team of engineers, influence product decisions, set the technical direction, and work in Ruby and JavaScript. AlphaSights
- [Get 10 offers from top tech companies in one week.](http://www.indeed.com/prime?sid=xp_cooperpress&kw=rubyweekly)Indeed Prime is an elite new program from Indeed.com that presents in-demand tech talent like you to top employers. Indeed Prime opens the door to exciting career opportunities with one simple application. [Join today.](http://www.indeed.com/prime?sid=xp_cooperpress=ruby) Indeed.com

In brief

- [Rails 4.2.6 and 4.1.15 Released](http://weblog.rubyonrails.org/2016/3/11/Rails-4-2-6-and-4-1-15-have-been-released/?utm_source=rubyweekly&utm_medium=email) news Riding Rails
- [Writing A Microservice in Ruby](http://coderascal.com/ruby/writing-a-microservice-in-ruby/?utm_source=rubyweekly&utm_medium=email) tutorial Code Rascal
- [Rails 5 Makes Rendering Partials From Cache Substantially Faster](http://blog.bigbinary.com/2016/03/09/rails-5-makes-partial-redering-from-cache-substantially-faster.html?utm_source=rubyweekly&utm_medium=email) tutorial Ratnadeep Deshmane
- [FactoryGirl Beyond the Database](https://subvisual.co/blog/posts/73-factorygirl-beyond-the-database?utm_source=rubyweekly&utm_medium=email) tutorial 
FactoryGirl can create plain old Ruby objects too. Miguel Palhas
- [My New Favorite Enumerable Method: each_cons](http://www.blackbytes.info/2016/03/enumerable-methods/?utm_source=rubyweekly&utm_medium=email) tutorial Jesus Castello
- [Download free eBook: Continuous Integration and Continuous Delivery with Docker](http://resources.codeship.com/ebooks/continuous-integration-continuous-delivery-with-docker?utm_source=cicddockerebook) tutorial 
Learn how to deliver reliable software faster with a Continuous Delivery Pipeline using Docker and containers in this free e-book. CodeshipSponsored
- [PostgreSQL and Rails, Sitting in A Tree](https://evilmartians.com/chronicles/postgresql-and-rails-sitting-in-a-tree?utm_source=rubyweekly&utm_medium=email) tutorial 
A look at working with large hierarchical structures in Rails with Postgres. Viktor Sokolov
- [Rails 5 Switches From Strong ETags to Weak ETags](http://blog.bigbinary.com/2016/03/08/rails-5-switches-from-strong-etags-to-weak-tags.html?utm_source=rubyweekly&utm_medium=email) tutorial 
ETags are used in cache validation. Prajakta Tambe
- [Refactoring in Ruby: Primitive Obsession](http://eftimov.net/primitive-obsession-ruby?utm_source=rubyweekly&utm_medium=email) tutorial 
A look at refactoring out primitive constants from a class, although I’m not convinced it’s always a good approach. Ilija Eftimov
- [How to Configure Travis CI to Use Multiple Databases with Rails Tests](http://tomdallimore.com/blog/how-to-run-with-rails-configure-travis-ci-to-use-multiple-databases/?utm_source=rubyweekly&utm_medium=email) tutorial Tom Dallimore
- [A Look at Significant Speed Differences Between Date Parsing Methods](https://medium.com/@devlucky/ruby-time-parsing-optimization-524622354201?utm_source=rubyweekly&utm_medium=email) opinion devlucky
- [Modern Concurrency Tools for Ruby](https://github.com/ruby-concurrency/concurrent-ruby?utm_source=rubyweekly&utm_medium=email) tools 
Supports modern versions of Ruby and includes agents, futures, promises, thread pools, supervisors, etc. ruby-concurrency
- [5 Capistrano Tools You Didn’t Know About](http://blog.rubyroidlabs.com/2016/02/capistrano-tools/?utm_source=rubyweekly&utm_medium=email) tools Yury Kaliada
- [Opal-Phaser: Write Browser Games in Ruby](http://opalphaser.com/?utm_source=rubyweekly&utm_medium=email) tools 
Brings together Opal (Ruby to JS tool) and the Phaser game development framework. Orbital Impact
- [URN: Validate and Normalize URNs According to RFC 2141](https://github.com/altmetric/urn?utm_source=rubyweekly&utm_medium=email) code 
URNs are Uniform Resource Names, e.g. `urn:isbn:0451450523` Altmetric LLP
- [has_reindexable_associations: Automatic Elasticsearch Reindexing of ActiveRecord Associations](https://github.com/efigence/has_reindexable_associations?utm_source=rubyweekly&utm_medium=email) code efigence
- [Reencryptor: Make Your Legacy Rails Apps More Secure](http://blog.nrowegt.com/reencryptor-gem-0-0-0-released/?utm_source=rubyweekly&utm_medium=email) code 
Helps you migrate and re-encrypt data within a table. Nathaniel Rowe
- [ATV: ASCII Tables For Clearer Testing](https://punctuatedproductivity.wordpress.com/2016/02/02/ascii-tables-for-clearer-testing/?utm_source=rubyweekly&utm_medium=email) code tutorial Kelly Felkins
- [Has Your Rails App Got the Ops Infrastructure it Deserves?](https://www.reinteractive.net/service/ops-care?sid=37) 
Let us take care of your ops and get your site performing at it's best. Our ops team supports your Rails app 24/7 from less than $1 per hour. Fixed price hassle-free ops is what we do best. ReinteractiveSponsored

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

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