---
title: "This week's Ruby news, issue 320"
publication: "Ruby Weekly"
issue: 320
published_at: "2016-10-20"
canonical_url: "https://rubyweekly.com/issues/320"
---

This week's Ruby news, issue 320

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

Ruby WeeklyIssue 320 — October 20, 2016

Adam Cooke[Procodile: A New Procfile-Compatible Process Manager](https://blog.adamcooke.io/running-ruby-apps-in-production-b7e8e5b516eb)Similar to Foreman, but defaults to running all processes in the background and can process restarts in multiple ways.


heckpsi-lab[Midori: A Flexible and Fast EventMachine-Based Web Framework](https://github.com/heckpsi-lab/em-midori)It’s early days, but Midori aims to provide high performance. A simple benchmark shows it outperforming Sinatra and even Express.js on Node. See [example app code.](https://github.com/heckpsi-lab/em-midori/blob/master/example/route.rb)


YouTube[Matz's Euruko 2016 Opening Keynote](https://www.youtube.com/watch?v=8aHmArEq4y0)Updates on the Ruby3x3 project, future approaches to concurrency in Ruby, and a look at ‘duck inference’. _34 minutes._


UpgradeRailsSponsored[Founders/CTOs: We upgrade Rails so that your team doesn't have to](https://www.upgraderails.com/)Are you swamped with work but your Rails stack is outdated? UpgradeRails is a service from the founders of Hint.io and Honeybadger.io. Let our expert team upgrade your Rails apps so that you can focus on features, not maintenance.

[![UpgradeRails\](https://copm.s3.amazonaws.com/65db5e6c.png)](https://www.upgraderails.com/?utm_source=rubyweekly&utm_medium=email)


SitePoint[Learn Ruby Metaprogramming for Great Good](https://www.sitepoint.com/learn-ruby-metaprogramming-for-great-good/)Ilya Bodrov-Krukowski offers a clean example of good metaprogramming in Ruby.


Richard Schneeman[When To Be Concerned About Concerns](https://blog.codeship.com/when-to-be-concerned-about-concerns/)If you find yourself reaching to do a module-method extraction, stop. Consider what road you’re starting down and these lessons Richard shares.


Danny Garcia[Swift for Rubyists: A Comparison](https://whatilearnedtoday.io/swift-for-ruby-devs-the-basics-pt-2/)A multi-part ([part 0](https://whatilearnedtoday.io/swift-for-ruby-devs-type-systems/), [part 1](https://whatilearnedtoday.io/swift-for-ruby-devs-the-basics-pt-1-2/), [part 2](https://whatilearnedtoday.io/swift-for-ruby-devs-the-basics-pt-2/)) series comparing Swift to Ruby. You might be surprised at how similar the two languages are.


Leigh Halliday[Testing with HTTP Requests](https://blog.codeship.com/testing-http-requests/)A look at writing tests that use data returned from external HTTP APIs, as well as testing those interactions both in success and failure situations.


Dorothy Wingrove[5 WTFs in 6 LOCs](https://vimeo.com/181409251)A fun 5 minute demonstration of FizzBuzz implemented via Ruby’s little used ‘flip flop’ operator.


Erik Benoist[Pragmatic React on Rails](https://product.reverb.com/react-on-rails-9936283aea07)Reverb’s story of moving to Webpack on the frontend, including how to handle server-side rendering of React components.


Jobs

- [Senior Ruby on Rails Developer at Catawiki.](http://www.catawiki.com/jobs/job/senior-back-end-developer?gh_jid=254091)As the fastest growing technology company in the world, we offer a unique opportunity to join our Development in Amsterdam or Assen working on products and services used by our millions of customers. Catawiki
- [Senior Full Stack Engineer - San Francisco, CA](http://www.onemedical.com/jobs/product/?utm_source=rubyweekly&utm_medium=email)Have you ever had a horrible experience at the doctor’s office? One Medical is changing the whole experience. We are looking for senior full stack engineers to join our team in San Francisco and help us change healthcare. OneMedical.com
- [Don't Love Your Job? You Should - Try Hired and Find the Right Fit.](http://hired.com/?utm_source=newsletters&utm_medium=petercooperpress&utm_campaign=q4-16-rubyweekly)Hired puts the power back in your hands, by having companies apply to you, not the other way around. With Hired you only talk to companies you're interested in. Hired

In brief

- [How to Debug Ruby Programs on OS X with lldb](https://christoph.luppri.ch/articles/2016/10/17/debugging-ruby-programs-on-osx-with-lldb/?utm_source=rubyweekly&utm_medium=email) tutorial 
A demonstration of using built-in tools on OS X to debug a running program. Christoph Lupprich
- [You Can Now Debug with Pry on JRuby](http://ivoanjo.me/blog/2016/10/12/psa-you-can-now-debug-with-pry-on-jruby/?utm_source=rubyweekly&utm_medium=email) tutorial 
If you’re a JRuby user and you’ve pined for pry-like debugging, this is your lucky day. Ivo Anjo
- [Cross Site Request Forgery (CSRF) Protection in Rails Explained](http://kadwill.com/csrf-protection-in-rails/?utm_source=rubyweekly&utm_medium=email) tutorial Tom Kadwill
- [DRY Off Your Rails Code with ActiveSupport::Concerns](https://www.sitepoint.com/dry-off-your-rails-code-with-activesupportconcerns/?utm_source=rubyweekly&utm_medium=email) tutorial Kingsley Silas
- [Service Objects and Commands](http://blog.ragnarson.com/2016/10/19/are-service-objects-enough.html?utm_source=rubyweekly&utm_medium=email) tutorial 
Coordinate smaller service objects with a command layer. Dawid Lenkiewicz
- [Tracking SQL Queries in Rails](http://stevenyue.com/blogs/tracking-sql-queries-in-rails/?utm_source=rubyweekly&utm_medium=email) tutorial 
A new gem using the ActiveSupport Instrumentation API to track and report on SQL queries in ActiveRecord. Steven Yue
- [Auto-Rollback Postgres Transactions in the Rails Sandbox](http://travisofthenorth.com/blog/2016/10/15/postgres-rails-sandbox?utm_source=rubyweekly&utm_medium=email) tutorial 
A cool trick if you need it. Travis Hunter
- [Use Ruby Gems in Java Projects via JRuby](http://nts.strzibny.name/using-ruby-gems-in-javagradle-projects-jruby/?utm_source=rubyweekly&utm_medium=email) tutorial 
If you ever wanted to have a gem’s functionality available to a Java project, here’s how. Josef Strzibny
- [Use Process Managers and Events to Increase Reliability](http://blog.arkency.com/2016/10/how-we-save-money-by-using-ddd-and-process-managers-in-our-rails-app/?utm_source=rubyweekly&utm_medium=email) tutorial 
If you use third-party services for critical business actions, here’s an approach to improving uptime. Jakub Rozmiarek
- [Rescuing Exceptions: A Primer](http://blog.appsignal.com/blog/2016/10/18/ruby-magic-exceptions-primer.html?utm_source=rubyweekly&utm_medium=email) tutorial 
Some advice on handling exceptions from a company who makes their living doing it. Tom du Bruijn
- [Find the best Rails developers](http://qualified.io/?utm_source=rubyweekly&utm_medium=email&utm_campaign=newsletter1016) 
Qualified reveals candidate abilities with unit-test driven assessments and pair-programming. Test for Rails, Node, and more. QualifiedSponsored
- [How Sprockets Works](https://www.youtube.com/watch?v=rbM_1wRVfeI) video Rafael França
- [Building JSON with Active Model Serializer](https://www.driftingruby.com/episodes/rails-api-active-model-serializer?utm_source=rubyweekly&utm_medium=email) video Drifting Ruby
- [Brighton Ruby Conference 2016 Videos Released](http://brightonruby.com/?utm_source=rubyweekly&utm_medium=email) video 
Some great talks from folks like Sarah Mei, Sam Phippen and Andy Pike. Andy Croll
- [Free eBook: Continuous Deployment for Docker Apps to Kubernetes](https://resources.codeship.com/ebooks/deploy-docker-kubernetes-codeship-aw/?utm_source=email-sponsorship&utm_medium=cpc-ruby-weekly-secondary&utm_campaign=cooper-deploy-docker-kubernetes) 
In this eBook you will learn how to set up Continuous Deployment to Kubernetes for your Docker Apps. CodeshipSponsored
- [Capistrano::Chewy: Elasticsearch and Chewy Index Management with Capistrano](https://github.com/nbulaj/capistrano-chewy?utm_source=rubyweekly&utm_medium=email) tools Nikita Bulai
- [Rack::JetRouter: A Super-Fast Router for Rack Applications](https://github.com/kwatch/rack-jet_router/?utm_source=rubyweekly&utm_medium=email) code Makoto Kuwata
- [Birdwatcher: Data Analysis and OSINT Framework for Twitter](https://github.com/michenriksen/birdwatcher?utm_source=rubyweekly&utm_medium=email) code Michael Henriksen
- [Ship: A Very Simple Docker Package Manager Written in Ruby](https://github.com/ship-containers/ship?utm_source=rubyweekly&utm_medium=email) code Ship

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

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