---
title: "This week's Ruby news, issue 332"
publication: "Ruby Weekly"
issue: 332
published_at: "2017-01-19"
canonical_url: "https://rubyweekly.com/issues/332"
---

This week's Ruby news, issue 332

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

Ruby WeeklyIssue 332 — January 19, 2017

Marko Ćilimković[Analyzing RubyGems Stats for 2016](https://infinum.co/the-capsized-eight/analyzing-rubygems-stats-v2016)“Is Ruby dead?” asks Marko, and the answer is no. While the number of _new_ projects is going down, downloads are stable or growing.


Phusion Blog[Passenger 5.1 Released: Even Better Ruby Webapp Deployment](https://blog.phusion.nl/2017/01/10/passenger-5-1-1/)Passenger 5 has had a huge impact on serving up Ruby webapps to the world. 5.1 introduces protection from response body processing crashes, daily security check updates, increased concurrency, and a lot more.


Chris Seaton[jRuby+Truffle Now 'TruffleRuby' and Making Progress](http://lists.ruby-lang.org/pipermail/jruby/2017-January/000511.html)A detailed update of where Truffle+JRuby (a fast, dynamically compiled Ruby implementation) is and its future as _[TruffleRuby](https://github.com/graalvm/truffleruby)_. Soon, Truffle hopes to handle C extensions and potentially not even require a JVM.


ROLLBARSponsored[Wanna Less Buggy App?](https://rollbar.com/?utm_source=rubyweekly&utm_medium=email-nl&utm_term=rubyweekly_1_19&utm_campaign=nl_sponsorship)Rollbar detects and alerts you when code breaks in production. Get the stack trace, code, data to help you d̶e̶b̶u̶g̶ defeat Ruby errors.

[![ROLLBAR\](https://copm.s3.amazonaws.com/5adb2553.png)](https://rollbar.com/?utm_source=rubyweekly&utm_medium=email-nl&utm_term=rubyweekly_1_19&utm_campaign=nl_sponsorship)


Patrick Bacon[Run a Local Rails Script on Heroku](https://spin.atomicobject.com/2017/01/18/rails-script-heroku/)One-liners can be piped into the ‘heroku run console’ command, but what about longer scripts you want to execute in a remote Heroku environment?


Starr Horne[Ruby's Mysterious === Operator, a.k.a. Case Equality Operator](http://www.rubyletter.com/blog/2017/01/18/ruby-triple-equals-operator.html)You may have never used Ruby’s triple-equals operator. But understanding it is key to unlocking the hidden power of ‘case’, ‘rescue’ and other Ruby features.


Heidar Bernhardsson[Integration Testing Ruby on Rails with Minitest and Capybara](https://semaphoreci.com/community/tutorials/integration-testing-ruby-on-rails-with-minitest-and-capybara)Capybara is an acceptance test framework for webapps. Learn how to use it with Minitest for integration testing of your Rails apps.


Jim Gay[Fixing a Mistake with How to Implement Background Jobs](https://www.saturnflyer.com/blog/working-later-bridging-your-code-with-the-background)Jim looks at making decisions about background processing without rearranging your code.


Kacper Walanus[A Simple and Terrifying Encryption Story](https://blog.elpassion.com/simple-and-terrifying-encryption-story-c1f1d6707c07#.wdzwqzuhr)The story of a massive bug in a common Ruby encryption gem (aes), how it happened, and what’s being done about it.


Jobs

- [Senior Full-Stack Engineer at Able Health (San Francisco, CA)](http://ablehealth.com/jobs/senior-application-engineer/?utm_source=rubyweekly&utm_medium=email)Help lead the delivery of our product, which gets doctors paid more when they make their patients healthier Able Health
- [Senior Software Developer - Liberty Mutual Insurance (King of Prussia PA, USA)](https://lmig.taleo.net/careersection/lmigcorp/jobdetail.ftl?job=81321) Liberty Mutual Insurance

In brief

- [RubyMine 2017.1 EAP 2: Create Gemsets Quickly and Work with RuboCop](https://blog.jetbrains.com/ruby/2017/01/rubymine-2017-1-eap-2-creating-gemsets-rubocop-support/?utm_source=rubyweekly&utm_medium=email) news JetBrains
- [The Lead Developer 1-day conference for Tech Leads. 21 Feb, New York.](http://2017.theleaddeveloper-ny.com/?utm_source=ruby-weekly&utm_medium=referral&utm_campaign=ruby-weekly&utm_content=programming-languages) news 
High-level sessions on leadership and culture plus lightning talks on new tech and programming languages. White October EventsSponsored
- [How We Built a Blog for our Rails App in Under 30 Minutes](https://forwardmx.io/blog/3-how-we-build-a-blog-for-our-rails-app-in-less-than-30-minutes?utm_source=rubyweekly&utm_medium=email) tutorial 
A rough and ready approach. ForwardMX
- [How to Deploy Rails 5 and Friends on AWS ElasticBeanstalk](https://medium.com/@rob__race/how-to-setup-and-deploy-a-rails-5-app-on-aws-beanstalk-with-postgresql-redis-and-more-88a38355f1ea?utm_source=rubyweekly&utm_medium=email) tutorial Rob Race
- [A Cool Trick for Knowing Which Exceptions to Catch](http://blog.honeybadger.io/ruby-rescue-elegant-trick-for-knowing-which-exceptions-to-catch/?utm_source=rubyweekly&utm_medium=email) tutorial 
Spoiler: use === Starr Horne
- [Complex Sorting in ActiveRecord](http://jameskerr.info/sql/ruby/activerecord/2017/01/16/complex-sorting-in-activerecord.html?utm_source=rubyweekly&utm_medium=email) tutorial James Kerr
- [Packing and Unpacking: Reading Binary Data in Ruby](http://www.blackbytes.info/2017/01/read-binary-data/?utm_source=rubyweekly&utm_medium=email) tutorial Jesus Castello
- [Quick Tip: Writing Clean Monkey Patches with 'prepend'](https://solidfoundationwebdev.com/blog/posts/writing-clean-monkey-patches-fixing-kaminari-1-0-0-argumenterror-comparison-of-fixnum-with-string-failed?utm_source=rubyweekly&utm_medium=email) tutorial Weston Ganger
- [An Unexpected Change in ActiveRecord Callbacks in Rails 5](http://dev.mikamai.com/post/155762886624/how-requirements-shaped-my-code-aka-rails-5-and?utm_source=rubyweekly&utm_medium=email) tutorial Andrea Longhi
- [4 Reasons Developers Should Write Their Own Load Tests](https://engineering.klarna.com/four-reasons-developers-should-write-their-own-load-tests-fac74c1be9f1?utm_source=rubyweekly&utm_medium=email) opinion Ben Maraney
- [The Four Indicators of A Healthy Rails Project](https://medium.com/selleo/the-four-indicators-of-a-healthy-ruby-on-rails-project-35a7c53fb94e?utm_source=rubyweekly&utm_medium=email) opinion Błażej Kosmowski
- [The Power of Interfaces in Ruby](http://shiroyasha.io/interfaces-in-ruby.html?utm_source=rubyweekly&utm_medium=email) opinion 
A look at the power of using tests to define expected behavior versus Java style interfaces. Igor Šarčević
- [If you build Rails apps, you need Honeybadger](https://www.honeybadger.io?utm_source=rubyweekly&utm_medium=email) tools 
Exception monitoring for Ruby developers. Pinpoint errors to the line of offending code - [get your free trial](https://www.honeybadger.io). HoneybadgerSponsored
- [Scale Out Multi-Tenant Rails Apps with activerecord-multi-tenant](https://www.citusdata.com/blog/2017/01/05/easily-scale-out-multi-tenant-apps/?utm_source=rubyweekly&utm_medium=email) code 
Enables easy scale-out of Rails apps that follow a multi-tenant data model. Citus Data
- [ActiveRecord SQL Server Adaptor Now Supports Rails 5](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter?utm_source=rubyweekly&utm_medium=email) code Rails SQL Server
- [Oxblood: A New Redis Client Library with First Class JRuby Support](http://etehtsea.me/oxblood-a-new-redis-client?utm_source=rubyweekly&utm_medium=email) code Konstantin Shabanov
- [Libcache: A Simple In-Memory and File-Based Caching Library](https://github.com/silk8192/libcache?utm_source=rubyweekly&utm_medium=email) code
- [Functo: Composable Method Objects in Ruby](https://github.com/sbscully/functo?utm_source=rubyweekly&utm_medium=email) code Sam Scully
- [2 Player Pong Built Using Vue.js and ActionCable](https://github.com/rlafranchi/pong?utm_source=rubyweekly&utm_medium=email) code Richard LaFranchi

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

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