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

This week's Ruby news, issue 296

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

Ruby WeeklyIssue 296 — May 5, 2016

Heroku[Container-Ready Rails 5](https://blog.heroku.com/archives/2016/5/2/container_ready_rails_5)“Rails 5 will be the easiest release ever to get running on Heroku,” says Richard Schneeman, before showing off how it’ll take just five lines at the command prompt. But how does it work?


ImageTragick[ImageTragick: Major Vulnerabilities in ImageMagick](https://imagetragick.com/)ImageMagick is an image manipulation tool heavily used in Ruby libraries and apps and some major vulnerabilities have been found in it. Check [these notes for more Ruby specifics](http://www.rubyflow.com/p/h31lpr-imagetragick-and-how-to-protect-from-it) and upgrade things like Paperclip if you haven’t already.


Sam Phippen[Do You Need That Gem?](http://brightonruby.com/2015/do-you-need-that-gem-sam-phippen/)Sam Phippen looks at the trials and tribulations of managing third party dependancies in our Ruby apps. _(18 minute video.)_


CodeshipSponsored[Download free eBook: Orchestrate Containers with Docker Compose](http://resources.codeship.com/ebooks/orchestrate-containers-with-docker-compose?utm_source=rubyweeklyprimary)In this free Codeship eBook you will learn what Docker Compose is, how it works, and how to easily recreate a microservice architecture on your development machine with Docker Compose.

[![Codeship\](https://copm.s3.amazonaws.com/ec3f6b93.png)](http://resources.codeship.com/ebooks/orchestrate-containers-with-docker-compose?utm_source=rubyweeklyprimary)


Official Rails Blog[Rails 5.0.0 Beta 4 Released; 5.0 RC Due Very Soon](http://weblog.rubyonrails.org/2016/4/28/Rails-5-0-beta4/)If you’re at RailsConf, we hope you’re having a good one. A release candidate is anticipated to follow soon.


Leigh Halliday[Exploring the Structure of Ruby Gems](https://blog.codeship.com/exploring-structure-ruby-gems/)A look at how Ruby gems are structured, where to put your code, how to namespace it, as well as how four popular Ruby gems have done it.


Patrick Lewis[Gem Dependency Issues with Rails 5 Beta](http://blog.endpoint.com/2016/05/gem-dependency-issues-with-rails-5-beta.html)“a reminder that when working in a Rails 4 app it’s easy to take for granted the ability to install gems and have them ‘just work’ [..] When dealing with pre-release versions of Rails, don’t be surprised when you have to do some investigative work”


Marcin Grzywaczewski[The Top Rails Code Smell To Avoid to Keep Your App Healthy](https://medium.com/planet-arkency/the-biggest-rails-code-smell-you-should-avoid-to-keep-your-app-healthy-a61fd75ab2d3)Marcin ponders what common pattern in Rails causes the most pain and settles for ActiveRecord callbacks. Here he explains why.


Ed Wassermann[An Introduction to Rails Testing Antipatterns](http://code.tutsplus.com/articles/antipatterns-basics-rails-tests--cms-26011)An introduction to testing anti-patterns in Rails aimed at developers who want to pick up some valuable best practices.


Jobs

- [Ruby Backend developer (Gothenburg, Sweden)](https://football-addicts.workable.com/jobs/183178?utm_source=rubyweekly&utm_medium=email)Football Addicts, creators of Forza Football, are looking for Ruby developers who are dedicated to building great mobile apps for football fans all over the world. Come join our small team in Gothenburg, Sweden. Football Addicts
- [Senior Ruby on Rails Developer (Portland, OR or Pasadena, CA)](https://goldstar.workable.com/j/26D90EAC9B?utm_source=rubyweekly&utm_medium=email)Goldstar is looking for an experienced Rails developer to join our 10 person rails team (150+ employees overall) and help people go out more. Goldstar
- [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-may-5&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 today. Underdog.io

In brief

- [Sidekiq 4.1.2 Released with Key Memory Leak Fix](https://github.com/mperham/sidekiq/blob/master/Changes.md#412?utm_source=rubyweekly&utm_medium=email) news Mike Perham
- [Rails 5 Adds A Way to Get Information About Types of Failed Validations](http://blog.bigbinary.com/2016/05/03/rails-5-adds-a-way-to-get-information-about-types-of-failed-validations.html?utm_source=rubyweekly&utm_medium=email) news Abhishek Jain
- [RubyConf Portugal 2016 CFP Open](https://www.papercall.io/rubyconfpt-2016?utm_source=rubyweekly&utm_medium=email) news
- [Rails Camp USA West Coast (Aug 26-29)](http://west.railscamp.us/?utm_source=rubyweekly&utm_medium=email) news 
Rails Camp returns, taking place in the Sawtooth Mountains in Idaho later this summer.
- [How fast is your Rails app?](https://www.rorvswild.com?utm_source=rubyweekly&utm_medium=email) tools 
Pinpoint performance bottlenecks in your app because every second counts for your users. ROR vs WILDSponsored
- [No More Errors: An Annotated List of Ruby's Core Exceptions](http://idiosyncratic-ruby.com/32-no-more-errors.html?utm_source=rubyweekly&utm_medium=email) tutorial Idiosyncratic Ruby
- [How to Generate Weighted Random Numbers](http://www.blackbytes.info/2016/05/weighted-random-numbers/?utm_source=rubyweekly&utm_medium=email) tutorial Jesus Castello
- [Service Worker on Rails](https://rossta.net/blog/service-worker-on-rails.html?utm_source=rubyweekly&utm_medium=email) tutorial 
How to integrate the JavaScript required for Service Worker support into Rails apps that use Sprockets. Ross Kaffenberger
- [How To Test Action Mailer Emails in Your Dev Environment](http://solidfoundationwebdev.com/blog/posts/how-to-test-rails-activemailer-emails-in-your-development-environment?utm_source=rubyweekly&utm_medium=email) tutorial 
A very quick shell-based tip. Weston Ganger
- [Lotus.rb (Hanami) and the Future of Ruby](http://brightonruby.com/2015/lotus-hanami-and-the-future-of-ruby-luca-guidi/?utm_source=rubyweekly&utm_medium=email) video 
The creator of Hanami (formally Lotus.rb) talks through his thoughts on the Ruby ecosystem. Luca Guidi
- [Spring Cleaning: Replacing Resque with Sidekiq](http://engineering.vinted.com/2016/05/03/spring-cleaning-replacing-resque-with-sidekiq/?utm_source=rubyweekly&utm_medium=email) opinion Titas Norkūnas
- [7 Steps to Being a Better Rails Developer](http://blog.benroux.me/be-the-better-rails-developer/?utm_source=rubyweekly&utm_medium=email) opinion Ben Roux
- ['Lug-Nut' Driven Development](https://medium.com/@belisarius222/how-to-start-a-software-project-ad51373c1510?utm_source=rubyweekly&utm_medium=email) opinion 
Not Ruby specific but I found it thought provoking: “Build the whole thing badly, test as you build, log everything, plan the error handling, and automate stop and start.” Ted Blackman
- [Baking a Cake with Rails](https://blog.8thlight.com/mike-knepper/2016/04/14/baking-a-cake-with-rails.html?utm_source=rubyweekly&utm_medium=email) opinion 
Mike looks at why Rails encourages organizing code into horizontal layers at the expense of vertical slices. Mike Knepper
- [Find and Fix Ruby Errors Faster (and have fun doing it)](https://rollbar.com/?utm_source=ruby_weekly&utm_medium=email-nl&utm_term=ruby_weekly_5_5&utm_campaign=nl_sponsorship) tools 
Quickly pinpoint what’s broken and why. Get the context and insights to defeat all Ruby errors. ROLLBARSponsored
- [Resources for Machine Learning in Ruby](https://gist.github.com/gbuesing/865b814d312f46775cda?utm_source=rubyweekly&utm_medium=email) tools Geoff Buesing
- [NetHttp2: An HTTP/2 Client for Ruby](https://github.com/ostinelli/net-http2?utm_source=rubyweekly&utm_medium=email) code Roberto Ostinelli
- [A Carrierwave Storage Adapter That Supports Google Cloud Storage](https://github.com/metaware/carrierwave-google-storage?utm_source=rubyweekly&utm_medium=email) code Metaware Labs
- [Active Sample: Sample Functionality for Active Record](https://github.com/JuanitoFatas/active_sample?utm_source=rubyweekly&utm_medium=email) code 
e.g. `User.sample(2)` returns two random users. Juanito Fatas

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

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