---
title: "This week's Ruby news, issue 338"
publication: "Ruby Weekly"
issue: 338
published_at: "2017-03-02"
canonical_url: "https://rubyweekly.com/issues/338"
---

This week's Ruby news, issue 338

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

Ruby WeeklyIssue 338 — March 2, 2017

Vladimir Makarov[Towards Faster Ruby Hash Tables](https://developers.redhat.com/blog/2017/02/27/towards-faster-ruby-hash-tables/)Hashes are commonly used in most Ruby apps so their performance characteristics are important. This post tells the technical tale of how hashes were significantly improved in MRI 2.4.


Official Rails Blog[Rails 5.1 Beta 1 Released](http://weblog.rubyonrails.org/2017/2/23/Rails-5-1-beta1/)5.1 will include [encrypted secrets management](https://github.com/rails/rails/pull/28038), system tests, plus big boosts to working well with JavaScript, such as managing dependencies with Yarn and using Webpack from Rails via [Webpacker](https://medium.com/statuscode/introducing-webpacker-7136d66cddfb).


Daniel P. Clark[Creating Powerful Command Line Tools in Ruby](https://blog.codeship.com/creating-powerful-command-line-tools-in-ruby/)A walk through designing a command line application in Ruby, from input to output and everything in between.


RollbarSponsored[Catch Errors Before Your Users Do 💻](https://rollbar.com/rubyweekly)Automatically know what’s broken and why with Rollbar. Rollbar instantly detects and alerts you (Slack, HipChat, Email) when code breaks. Get the stacktrace, code, user data to help you defeat Ruby errors. [Learn more.](https://rollbar.com/rubyweekly)

[![Rollbar\](https://copm.s3.amazonaws.com/b191f10b.png)](https://rollbar.com/rubyweekly?utm_source=rubyweekly&utm_medium=email)


IBM developerWorks Open[Ruby+OMR JIT Compiler: What’s Next?](https://developer.ibm.com/open/2017/03/01/ruby-omr-jit-compiler-whats-next/)An update on efforts by the Eclipse OMR team to be part of delivering [Ruby 3x3](http://engineering.appfolio.com/appfolio-engineering/2015/11/18/ruby-3x3), the goal of Ruby 3.0 being 3x faster than Ruby 2.


Drifting Ruby[Rails 5.1 Changes and New Features in 12 Minutes](https://www.driftingruby.com/episodes/ruby-on-rails-5-1-0-changes-and-new-features)A video that explains the big ticket items in the forthcoming Rails 5.1.0 (now available in beta) as well as how to use it already.


Alex Matchneer[Dreams For A Better ActionCable](https://dunningpostor.com/real-time-rails-dreams-for-a-better-actioncable/)A look at the challenges of ActionCable and a suggestion of how it could be improved using database transaction logs.


Starr Horne[Using Objects as Hash Keys](http://blog.honeybadger.io/objects-as-ruby-hash-keys/)Not usually recommended, using objects other than symbols or strings as hash keys is straightforward, and here’s an unusual but practical use case.


Jobs

- [Site Reliability Engineer at Handshake (SF)](http://grnh.se/30ix6b1?utm_source=rubyweekly&utm_medium=email)Are you interested in scaling, performance, automation, continuous deployment, and reliability of Ruby on Rails apps? Let's talk! Handshake
- [Senior Ruby on Rails Developer at Catawiki (Amsterdam or Assen)](https://www.catawiki.com/jobs/job/senior-ruby-on-rails-developer?gh_jid=547808)Catawiki’s mission is to make special items available to everyone. We offer a unique opportunity to join our team in Amsterdam or Assen developing products and services used by our millions of customers. Catawiki
- [Sr. JavaScript / Ruby Developer](https://www.stickermule.com/jobs?job=714da6cc-dc8b-4453-8bd6-7b0fa41ebd37&title=sr-javascript--ruby-developer)Sticker Mule is looking for passionate engineers to join our remote team. Come help us build the best e-commerce experience using Ruby, Rails, React, Node, Docker and more. Sticker Mule

In brief

- [The RailsConf 2017 Program is Now Available](http://railsconf.com/program/?utm_source=rubyweekly&utm_medium=email) news RailsConf 2017
- [Rails 5.0.2 Released](http://weblog.rubyonrails.org/2017/3/1/Rails-5-0-2-has-been-released/?utm_source=rubyweekly&utm_medium=email) news Rafael Franca
- [Get your ticket to SIGNAL: The Developer Conference by Twilio](https://www.twilio.com/signal?utm_source=rubynewsletter&utm_medium=email&utm_campaign=signal-2017-promo) news 
Join us at SIGNAL for two days of technical learning with 2,500 people like you! TwilioSponsored
- [RedDotRubyConf 2017 Taking Place June 22-23 in Singapore](http://www.reddotrubyconf.com/?utm_source=rubyweekly&utm_medium=email) news
- [The Turbolinks Lifecycle Explained](https://sevos.io/2017/02/27/turbolinks-lifecycle-explained.html?utm_source=rubyweekly&utm_medium=email) tutorial Artur Roszczyk
- [Lessons Learned and Code Smells Detected with Reek](https://review.ebertapp.io/lessons-learned-and-code-smells-detected-with-reek-ca9374a3eece#.guhhd30p5?utm_source=rubyweekly&utm_medium=email) tutorial 
Reek is a static analysis tool for Ruby. Lucas Mazza
- [Generating App Documentation in Rails 5](https://everydayrails.com/2017/03/01/rails-5-app-documentation.html?utm_source=rubyweekly&utm_medium=email) tutorial 
Did you know support for generating HTML docs for code was removed from Rails 5? Here's how to put it back. Aaron Sumner
- [Cleanly Test Rake Tasks with RSpec in Rails](https://www.wetestrails.com/blog/test-rails-rake-tasks-with-rspec?utm_source=rubyweekly&utm_medium=email) tutorial Eliot Sykes
- [Exploiting an XML External Entity (XXE) Vulnerability in Nokogiri](https://www.youtube.com/watch?v=EZxGa6dqero) video Snyk
- [Write Expressive Tests by Mastering RSpec Matchers](https://www.rubytapas.com/2017/02/28/write-expressive-tests-mastering-rspec-matchers?utm_source=rubyweekly&utm_medium=email) video 
Learn to deeply understand and effectively apply RSpec’s advanced matcher DSL. Ruby Tapas
- [5+1 Ruby Gems That Could Cause You Trouble](https://blog.rubyroidlabs.com/2017/02/trouble-ruby-gems/?utm_source=rubyweekly&utm_medium=email) opinion 
A list of gems to potentially avoid and why. Rubyroid Labs
- [Try Codeship Basic: simple hosted CI that works out of the box](https://codeship.com/features/basic?utm_source=email-sponsorship&utm_medium=cpc-ruby-weekly-secondary&utm_campaign=cooper-basic-features-signup-campaign) 
Get set up with our hosted Continuous Integration service in under 3 minutes. Join thousands of customers like InvisionApp & Whole Foods. CodeshipSponsored
- [Bundly: Write Your Gem Dependencies to a YAML File](https://medium.com/@soutaro/let-gemfile-be-machine-writable-a208e240a3?utm_source=rubyweekly&utm_medium=email) tools 
Use a YAML file with Bundler in place of a Gemfile along with some tools to update private gems more easily. Soutaro Matsumoto
- [Rib (Ruby-Interactive-ruBy): Yet Another Interactive Ruby Shell](https://github.com/godfat/rib?utm_source=rubyweekly&utm_medium=email) tools 
Takes inspiration from ripl and Pry and has some interesting ideas. Lin Jen-Shin
- [tty-prompt: A Powerful Interactive Command Line Prompt](https://github.com/piotrmurach/tty-prompt?utm_source=rubyweekly&utm_medium=email) code 
Now supports Windows as well. Piotr Murach
- [erubi: A Smaller, Faster ERB Implementation](https://github.com/jeremyevans/erubi?utm_source=rubyweekly&utm_medium=email) code 
erubi is included in Rails 5.1, replacing erubis. Jeremy Evans
- [QueryablePStore: A Quick and Easy Way to Query a PStore File](https://github.com/jacobsmith/queryable_pstore?utm_source=rubyweekly&utm_medium=email) code 
[PStore](https://ruby-doc.org/stdlib-2.4.0/libdoc/pstore/rdoc/PStore.html) is a long-standing way to persist a hash to disk in Ruby. Jacob Smith
- [Brains: A Feedforward Neural Network Implementation for JRuby](https://github.com/jedld/brains-jruby?utm_source=rubyweekly&utm_medium=email) code Joseph Emmanuel Dayo

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

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