---
title: "This week's Ruby news, issue 294"
publication: "Ruby Weekly"
issue: 294
published_at: "2016-04-21"
canonical_url: "https://rubyweekly.com/issues/294"
---

This week's Ruby news, issue 294

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

Ruby WeeklyIssue 294 — April 21, 2016

Robert Pankowecki[How I Hunted The Oddest Ruby Bug](http://blog.arkency.com/2016/04/how-i-hunted-the-most-odd-ruby-bug/)An interesting story and deep dive into solving a performance issue with background jobs caused by the way Ruby handles threads.


YouTube[DHH on Rails Performance and Speed (video)](https://www.youtube.com/watch?v=ktZLpjCanvg)Just yesterday, David Heinemeier Hansson, the creator of Rails, spoke about Rails performance and shared opinions on app architecture, caching, and SPAs.


Zachary Scott[The Road to Sinatra 2.0](http://zzak.io/log/2016-04-18-the-road-to-sinatra-2.0.html)A wrap up of all the upcoming changes and plans for Sinatra, the minimal webapp DSL (that inspired Node’s _Express_).


HerokuSponsored[Speeding Up Sprockets](https://engineering.heroku.com/blogs/2016-02-18-speeding-up-sprockets/?c=7013A000000mKANQA2&utm_campaign=Display%20-%20Endemic%20-Cooper%20-Ruby%20-%20Blog%20-%20Sprockets&utm_medium=display&utm_source=cooperpress&utm_content=blog&utm_term=ruby)Heroku found why the asset pipeline is the slowest part of deploying a Rails app, and turned it into a 12x performance improvement on some apps with Sprockets version 3.3+. [Learn more.](https://engineering.heroku.com/blogs/2016-02-18-speeding-up-sprockets/?c=7013A000000mKANQA2=Display%20-%20Endemic%20-Cooper%20-Ruby%20-%20Blog%20-%20Sprockets=display=cooperpress=blog=ruby)

[![Heroku\](https://copm.s3.amazonaws.com/c6f98020.png)](https://engineering.heroku.com/blogs/2016-02-18-speeding-up-sprockets/?c=7013A000000mKANQA2&utm_campaign=Display%20-%20Endemic%20-Cooper%20-Ruby%20-%20Blog%20-%20Sprockets&utm_medium=display&utm_source=cooperpress&utm_content=blog&utm_term=ruby)


Nick Sutterer[Introduction to Cells: A Better View Layer for Rails](http://www.sitepoint.com/introduction-to-cells-a-better-view-layer-for-rails/)Nick Sutterer, the author of Cells and Trailblazer, introduces Cells and how it makes Rails views better. Beware: Strong opinions ahead!


John Kevin Basco[How to Build a Rails JSON API with JSONAPI::Resources](http://tutorialsfordevs.com/tutorials/build-json-api-rails-jsonapi-resources/)[JSON API](http://jsonapi.org/) is a spec for building APIs that use JSON and [JSONAPI::Resources](https://github.com/cerebris/jsonapi-resources) is a library for Ruby bringing JSON API to Rails.


Jake Yesbeck[How to Diagnose Rails 'N + 1' Query Problems](http://jakeyesbeck.com/2016/04/17/how-to-diagnose-ruby-on-rails-n-+-1-query-problems/)How you’d dig into a common performance optimization issue within a Rails app.


Jobs

- [Senior Backend Engineer at Drivy (Paris, France)](https://jobs.lever.co/drivy/08071b26-a86d-4e04-8a9d-1163da98bb3d?utm_source=rubyweekly&utm_medium=email)We're building the #1 peer-to-peer car rental service in Europe and we're looking for an experienced Ruby developer to help us tackle some exciting challenges. Drivy
- [Ruby and JavaScript Developer (SF Bay Area)](https://www.beezwax.net/jobs/web-developer?utm_source=rubyweekly&utm_medium=email)Join an awesome web/mobile/DB consultancy that emphasizes teamwork and learning and puts employees first in everything we do. Beezwax
- [The top VC-backed startups use Underdog.io to hire engineers. Join in 60 seconds.](https://underdog.io/?utm_medium=referral&utm_source=rubyweekly&utm_campaign=homepage-2016-apr-21&utm_content=hirethebest)If you’re accepted, startups will email you as soon as next Monday. You decide where to interview and where to work. Now open in SF, NYC, and remote. Join [Underdog.io](https://underdog.io/?utm_medium=referral=rubyweekly=homepage-2016-apr-21=hirethebest) today. Underdog.io

In brief

- [Book: Agile Web Development with Rails 5](https://pragprog.com/book/rails5/agile-web-development-with-rails-5?utm_source=rubyweekly&utm_medium=email) news 
The latest edition of the canonical Rails book. In beta now, final in June. The Pragmatic Bookshelf
- [Rails 5 Adds 'accessed_fields' to Find Fields Actually Being Used](http://blog.bigbinary.com/2016/04/18/accesssed-fields-to-find-actually-used-fileds-in-Rails-5.html?utm_source=rubyweekly&utm_medium=email) news Abhishek Jain
- [Major Changes to Test Controllers in Rails 5](http://blog.bigbinary.com/2016/04/19/changes-to-test-controllers-in-rails-5.html?utm_source=rubyweekly&utm_medium=email) news Abhishek Jain
- [Get Live 1:1 Ruby Expert Help / Become a Ruby Codementor](https://www.codementor.io/ruby-experts?utm_source=newsletter-ad&utm_medium=newsletter&utm_term=help-become-mentor&utm_content=rubyweekly&utm_campaign=cooperpress-newsletter-ad) 
Are you a Ruby expert? Become a Codementor and get paid by helping your fellow developers. Learn Ruby faster with on-demand live expert help via screen sharing, video and chat. CodementorSponsored
- [How the US Government Gets High Availability with Elasticsearch and Rails](https://18f.gsa.gov/2016/04/08/how-we-get-high-availability-with-elasticsearch-and-ruby-on-rails/?utm_source=rubyweekly&utm_medium=email) tutorial 18F Digital Services
- [Using Postgres’ Hstore datatype in Rails](https://alybadawy.com/blog/2016-04-15/Using-Postgres-Hstore-datatype-in-Rails/?utm_source=rubyweekly&utm_medium=email) tutorial Aly Badawy
- [Null Objects and the Law of Demeter](https://about.futurelearn.com/blog/null-objects-and-the-law-of-demeter/?utm_source=rubyweekly&utm_medium=email) tutorial James Coglan
- [How to Find Ruby Code Smells with Reek](https://blog.codeship.com/how-to-find-ruby-code-smells-with-reek/?utm_source=rubyweekly&utm_medium=email) tutorial Piotr Szotkowski
- [Using Webpack with Middleman](https://rossta.net/blog/using-webpack-with-middleman.html?utm_source=rubyweekly&utm_medium=email) tutorial 
‘Ditch Sprockets and embrace the external pipeline.’ Ross Kaffenberger
- [How to Receive and Reply to an SMS from Rails with Twilio](https://www.twilio.com/blog/2016/04/receive-and-reply-to-sms-in-rails.html?utm_source=rubyweekly&utm_medium=email) tutorial Greg Baugues
- [Rails Fragment Caching in 7 Minutes](https://www.driftingruby.com/episodes/fragment-caching?utm_source=rubyweekly&utm_medium=email) video Dave Kimura
- [When to Avoid The DRY Principle](https://www.madetech.com/blog/when-to-avoid-the-dry-principle?utm_source=rubyweekly&utm_medium=email) opinion Luke Morton
- [In What World Would Ruby Become Faster Than Go?](https://www.quora.com/In-what-world-would-Ruby-become-faster-than-Golang/answer/Eleanor-McHugh?share=47e2896a) opinion Eleanor McHugh
- [Why You Should Consider Grape for Building Web APIs](http://glaucocustodio.github.io/2016/04/14/why-you-should-taste-grape/?utm_source=rubyweekly&utm_medium=email) opinion 
And you can mount Grape-built APIs inside any other Rack / Rails app. Glauco Custódio
- [Founders/CTOs: We upgrade Rails so that your team doesn't have to.](https://www.upgraderails.com/?utm_source=rubyweekly&utm_medium=email) tools 
Upgrade Rails is a new service from the founders of Hint.io and Honeybadger.io. Let our expert team keep your apps up to date so that you can focus on features, not maintenance. Upgrade RailsSponsored
- [A Rails, React, Relay and GraphQL Tutorial and Demo App](http://toeatapp.startuplandia.io/?utm_source=rubyweekly&utm_medium=email) code tutorial 
Tutorials plus a demo app covering using ES6-based React to consume a declarative Rails-based GraphQL API. John Davison
- [Rodauth: Auth and Account Management Framework for Rack Apps](https://github.com/jeremyevans/rodauth?utm_source=rubyweekly&utm_medium=email) code 
When used with Postgres, MySQL or SQL Server it provides extra security by using their security functions. Jeremy Evans
- [Helpy: Open Source Mobile-First 'Helpdesk' App](https://github.com/helpyio/helpy?utm_source=rubyweekly&utm_medium=email) code Helpy
- [AwsSesNewsletters: Send Newsletters via Amazon SES from Rails](https://github.com/10Pines/aws_ses_newsletters?utm_source=rubyweekly&utm_medium=email) code 10Pines

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

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