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

This week's Ruby news, issue 336

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

Ruby WeeklyIssue 336 — February 16, 2017

Tyler Lippert[Growing Your Own Web Framework With Rack](https://launchschool.com/blog/growing-your-own-web-framework-with-rack-part-1)A (complete) 4 part series that digs into Rack, how to use it to handle incoming requests, how to create a templating system, and then how to extract common code to build your own framework.


Starr Horne[Testing Ruby 2.4's Unicode Support](http://blog.honeybadger.io/ruby-s-unicode-support/)A test of Unicode improvements in 2.4.0 and how they’ve affected everyday Ruby operations and methods.


Benjamin Curtis[A Scaleable Sidekiq Cluster Script](http://blog.honeybadger.io/introducing-our-sidekiq-cluster-script/)A systemd-based script to run one Sidekiq process per core and watch memory consumption per process.


SqreenSponsored[Monitor & Protect Your Ruby App. Detect Attackers Early](https://www.sqreen.io/?utm_medium=email&utm_source=external&utm_campaign=rubyweekly&utm_content=20170216)Real-time security monitoring and protection for your Ruby apps. Sqreen detects and alerts you when your app is under attack. Get visibility into your app security and block attacks in real-time. Get up and running in minutes.

[![Sqreen\](https://copm.s3.amazonaws.com/31429dd3.jpg)](https://www.sqreen.io/?utm_medium=email&utm_source=external&utm_campaign=rubyweekly&utm_content=20170216)


Luca Guidi[Hanami v1.0.0.beta1 Released](http://hanamirb.org/blog/2017/02/14/announcing-hanami-100beta1.html)[Hanami](http://hanamirb.org/) is a modern Web framework for Ruby optimized for speed and security. This release marks a feature freeze and a stable API for 1.0.


Danny Whalen[Using Approval Tests to Verify SQL Queries](https://blog.remix.com/orm-we-approve-60f2a68f73fb)An example of using approval tests to verify the SQL generated by an ORM and why you’d want to do that.


Aaron Patterson[I Am A 'puts' Debuggerer](https://tenderlovemaking.com/2016/02/05/i-am-a-puts-debuggerer.html)A year old but I wanted to re-shine the spotlight on Aaron Patterson’s awesome post that showed off some great examples of the art of ‘puts’-based debugging.


Kevin Menard[TruffleRuby on the Substrate VM](http://nirvdrum.com/2017/02/15/truffleruby-on-the-substrate-vm.html)An update on progress with TruffleRuby, a Graal and Truffle based Ruby implementation. Here we see how SubstrateVM (SVM), an AOT compiler, boosts startup times _(Note: SVM is currently closed-source and can’t be used in production)_.


Francisco Temudo[How to Create a Microservices Architecture in Ruby](https://www.toptal.com/ruby/how-to-set-up-a-microservices-architecture)A step-by-step guide setting up an architecture oriented around a broker with ZeroMQ handling the communications.


Jobs

- [Senior Rails Developer at Ascent (Chicago)](http://www.builtinchicago.org/job/senior-rails-developer-1?utm_source=rubyweekly&utm_medium=email)Small well-funded B2B startup with big goals seeking an insatiably curious and uncompromisingly customer-focused dev to take responsibility for our consumer app and APIs. Ascent
- [Head of Engineering at Newspaper Club (Glasgow, UK)](http://www.newspaperclub.com/support/about/head-of-engineering?utm_source=rubyweekly&utm_medium=email)We're looking for a friendly, experienced tech team leader who can help us transform newspaper printing. Newspaper Club
- [Software Engineer - Mid to Senior Level (London, UK)](https://deliveroo.workable.com/jobs/29743?utm_source=rubyweekly&utm_medium=email)Have 2+years experience with Ruby on Rails and take pride in readable, well-designed & well-tested software? Deliveroo are hiring! Deliveroo

In brief

- [Effective Testing with RSpec 3: Build Ruby Apps with Confidence](https://pragprog.com/book/rspec3/effective-testing-with-rspec-3?utm_source=rubyweekly&utm_medium=email) news 
A Pragmatic Bookshelf book that’s now in beta. Myron Marston and Ian Dees
- [Rails to Phoenix: A 3-day training event in Berlin](http://elixir-phoenix-workshop.simplabs.com?utm_source=rubyweekly&utm_medium=email) news 
Learn Elixir & Phoenix, building on your Rails expertise. Enter as novice, leave ready to build with Elixir. simplabsSponsored
- [How to DRY Out your RSpec Tests using Shared Examples](https://medium.freecodecamp.com/how-to-dry-out-your-rspec-tests-using-shared-examples-d5cc5d33fd76#.9psob4tfx?utm_source=rubyweekly&utm_medium=email) tutorial Parth Modi
- [Using HdrHistogram to Record Ruby App Performance](http://bendyworks.com/blog/using-hdr-histogram-in-ruby?utm_source=rubyweekly&utm_medium=email) tutorial 
[HdrHistogram](https://github.com/slact/hdr_histogram_ruby) is a library for recording values to a histogram with configurable precision. Peter Schuck
- [Angular 2+ and Rails User Authentication](https://medium.com/@avatsaev/angular-2-and-ruby-on-rails-user-authentication-fde230ddaed8?utm_source=rubyweekly&utm_medium=email) tutorial A. Vatsaev
- [Caching Backend API Requests to Improve Performance](https://blog.guilhermegarnier.com/2017/02/handling_request_cache_in_ruby/?utm_source=rubyweekly&utm_medium=email) tutorial Guilherme Garnier
- [Writing A One-Time Script in Rails](https://www.justinweiss.com/articles/writing-a-one-time-script-in-rails/?utm_source=rubyweekly&utm_medium=email) tutorial 
A description of 3.5 options and how to decide which one to use. Justin Weiss
- [A Quick Tour of Your First Rails App](https://reinteractive.com/posts/316-wtf-just-happened-a-quick-tour-of-your-first-rails-app?utm_source=rubyweekly&utm_medium=email) tutorial Rachelle LeQuesne
- [Reading Ruby Code: ROM - Orientation](https://blog.mikecordell.com/2017/02/12/reading-ruby-code-rom-orientation.html?utm_source=rubyweekly&utm_medium=email) tutorial 
The second installment in a series on how to read code, using ROM as the code base in question. Michael Cordell
- [Vagrant Up Your Rails Development](https://reinteractive.com/posts/305-vagrant-up-your-rails-development?utm_source=rubyweekly&utm_medium=email) tutorial Tianwen Chen
- [Mastering Ruby Exceptions](https://honeybadger.leadpages.co/exceptions/?utm_source=rubyweekly&utm_medium=email) tutorial 
How well do you know Ruby's exception system? This free book will take you from novice to expert. Honeybadger Exception MonitoringSponsored
- [Scaling Rails Through 650 Million Requests in 5 Days](https://unboxed.co/blog/scaling-rails-through-650-million-requests-in-5-days-the-donald-trump-state-visit-petition/?utm_source=rubyweekly&utm_medium=email) story 
The UK Parliament’s [petitions site](https://petition.parliament.uk/) during an anti-Trump petition drive, in particular. Andrew White
- [Ruby Should Visibly Differentiate Functions and Properties](http://www.mehulkar.com/blog/2017/02/ruby-callable-methods/?utm_source=rubyweekly&utm_medium=email) opinion Mehul Kar
- [When Method Names Should Go Out with a Bang(!)](http://www.rubyletter.com/blog/2017/01/31/when-to-use-ruby-bang.html?utm_source=rubyweekly&utm_medium=email) opinion 
A reminder that it’s _not_ necessarily because they are "destructive". Starr Horne
- [Simple Scheduler: Schedule Jobs on Heroku at Specific Intervals](https://github.com/simplymadeapps/simple_scheduler?utm_source=rubyweekly&utm_medium=email) tools 
An enhancement to Heroku Scheduler. Simply Made Apps
- [SimpleFeed: Time-Ordered Activity Feeds](https://github.com/kigster/simple-feed?utm_source=rubyweekly&utm_medium=email) code 
A pure-Ruby (not Rails) implementation that works for single and multi-user scenarios. Konstantin Gredeskoul
- [Sym: Lightweight Symmetric Encryption for Humans](https://github.com/kigster/sym?utm_source=rubyweekly&utm_medium=email) code 
A Ruby gem that provides API and command-line options to encrypt/decrypt sensitive data and files. Konstantin Gredeskoul
- [Trtl: Logo/turtle.py-Style Turtle Graphics for Ruby](https://github.com/peterc/trtl?utm_source=rubyweekly&utm_medium=email) code Peter Cooper

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

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