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

This week's Ruby news, issue 300

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

Ruby WeeklyIssue 300 — June 2, 2016

YouTube[A 20 Minute Rails 5 Tour with DHH](https://www.youtube.com/watch?v=OaDhY_y8WTo)Much of Rails’ early popularity was owed to a ‘build a blog in 15 minutes’ video DHH recorded in 2004, so it’s great to see DHH do a new video covering similar ground but with Rails 5’s features.


Richard Schneeman[Saving Sprockets](http://schneems.com/2016/05/31/saving-sprockets.html)An interesting look at what happens when a prolific maintainer leaves an important project - in this case, Sprockets, as used for Rails’ asset pipeline.


YouTube[96 Videos from RailsConf 2016](https://www.youtube.com/playlist?list=PLE7tQUdRKcyZGYLfj6oRQWPxB6ijg1YsC#railsconf2016)Couldn’t make it to RailsConf 2016? Luckily Confreaks have done their usual stellar job in recording it, so if you have enough cups of coffee, enjoy the talks here.


HerokuSponsored[Real-Time Rails: Implementing WebSockets in Rails 5 with Action Cable](https://blog.heroku.com/archives/2016/5/9/real_time_rails_implementing_websockets_in_rails_5_with_action_cable?c=7013A000000mKyFQAU&utm_campaign=Display%20-%20Endemic%20-Cooper%20-Ruby%20-%20Blog%20-%20Real-Time-Rails&utm_medium=display&utm_source=cooperpress&utm_content=blog&utm_term=ruby)Get an inside look at making real-time apps now that Action Cable has been merged into Rails. [Learn More.](https://blog.heroku.com/archives/2016/5/2/container_ready_rails_5?c=7013A000000mKyFQAU=Display%20-%20Endemic%20-Cooper%20-Ruby%20-%20Blog%20-%20Real-Time-Rails=display=cooperpress=blog=ruby)

[![Heroku\](https://copm.s3.amazonaws.com/514247a8.png)](https://blog.heroku.com/archives/2016/5/9/real_time_rails_implementing_websockets_in_rails_5_with_action_cable?c=7013A000000mKyFQAU&utm_campaign=Display%20-%20Endemic%20-Cooper%20-Ruby%20-%20Blog%20-%20Real-Time-Rails&utm_medium=display&utm_source=cooperpress&utm_content=blog&utm_term=ruby)


Victor Shepelev[time_math2: A Small Library for Time Step Operations](https://github.com/zverok/time_math2)e.g. `TimeMath.day.floor(Time.now)` or `TimeMath.hour.round(Time.now)`


Ruby on Rails[Rails 5.1 to Drop jQuery as a Dependency](https://github.com/rails/rails/issues/25208)“We should now be able to write our data-remote, data-confirm, XHR wrapping, and the few other hooks we rely on using vanilla JavaScript.”


Greg Navis[3 Rails PostgreSQL Indexing Tricks](http://blog.scoutapp.com/articles/2016/05/31/3-postgresql-indexing-tricks-that-surprise-everyone)Postgres provides a lot of flexibility with indexes, but you can end up with a result that isn’t ideal. Here’s a few Rails-flavored tricks to get better indexing.


Jobs

- [Apply to 100 top tech companies with 1 application](http://www.indeed.com/prime?kw=rubyweekly&sid=xp_cooperpress_job)Indeed Prime connects top tech talent with top tech companies in the US. Companies compete to hire developers on Indeed Prime. 100% free for job seekers. Land a job and get $5k from Indeed Prime. Indeed Prime by Indeed.com

In brief

- [How do you detect errors in your Rails app?](https://www.rorvswild.com?utm_source=rubyweekly&utm_medium=email) tools 
Get relevant notifications by email and into your Slack channel when a new error breaks your app. ROR vs WILDSponsored
- [Avdi Grimm Unveils RubyTapas 2.0, an Update of His Screencasting Site](http://www.rubytapas.com/2016/05/31/welcome-rubytapas-2-0/?utm_source=rubyweekly&utm_medium=email) news Avdi Grimm
- [Rails 5 Adds 'ArrayInquirer' As Extra Way to Check Array Contents](http://blog.bigbinary.com/2016/05/27/rails-5-introduces-active-support-array-inquirer.html?utm_source=rubyweekly&utm_medium=email) news Mohit Natoo
- [Rails 5 Introduces 'country_zones' Helper Method to ActiveSupport::TimeZone](http://blog.bigbinary.com/2016/06/01/rails-5-introduces-helpers-for-country-zones.html?utm_source=rubyweekly&utm_medium=email) news Mohit Natoo
- [Rails 5 Provides Fragment Caching in Action Mailer Views](http://blog.bigbinary.com/2016/05/31/rails-5-provides-fragment-caching-in-action-mailer-view.html?utm_source=rubyweekly&utm_medium=email) news Prajakta Tambe
- [Rails 5 Adds 'OR' Support to Active Record](http://blog.bigbinary.com/2016/05/30/rails-5-adds-or-support-in-active-record.html?utm_source=rubyweekly&utm_medium=email) news Abhishek Jain
- [How to Secure Your Rack Apps with JSON Web Tokens](https://auth0.com/blog/2016/06/02/ruby-authentication-secure-rack-apps-with-jwt/?utm_source=rubyweekly&utm_medium=email) tutorial Martin Gontovnikas
- [A Comprehensive Guide to Interacting with IMAP using Ruby](http://www.ombulabs.com/blog/ruby/imap/a-comprehensive-guide-to-interacting-with-imap-using-ruby.html?utm_source=rubyweekly&utm_medium=email) tutorial Mauro Otonelli
- [How Rails Handles Status Codes](http://eftimov.net/how-rails-handles-status-codes?utm_source=rubyweekly&utm_medium=email) tutorial Ilija Eftimov
- [Using ES2015/ES6 with the Asset Pipeline on Rails](http://nandovieira.com/using-es2015-with-asset-pipeline-on-ruby-on-rails?utm_source=rubyweekly&utm_medium=email) tutorial Nando Vieira
- [Dockerized Rails Capybara Tests on top of Selenium](http://www.alfredo.motta.name/dockerized-rails-capybara-tests-on-top-of-selenium/?utm_source=rubyweekly&utm_medium=email) tutorial Alfredo Motta
- [An Introduction to Concurrency in Ruby](https://www.youtube.com/watch?v=5AxtY4dfuwc&index=14&list=PLE7tQUdRKcyZGYLfj6oRQWPxB6ijg1YsC) video Thijs Cadier
- [Packaging and Shipping Rails Apps with Docker](https://www.youtube.com/watch?v=lpHgNC5bCbo&index=44&list=PLE7tQUdRKcyZGYLfj6oRQWPxB6ijg1YsC) video 
Docker optimizations and perf tuning techniques to keep your Rails packaging and shipping pipeline in shape. Allan Espinosa
- [Stuck in the Middle: Leverage the Power of Rack Middleware](https://www.youtube.com/watch?v=WeXpka50tHY&index=17&list=PLE7tQUdRKcyZGYLfj6oRQWPxB6ijg1YsC) video Amy Unger
- [Deploying a Rails App in Production on Ubuntu](http://www.driftingruby.com/episodes/production-deployment-on-ubuntu?utm_source=rubyweekly&utm_medium=email) video Dave Kimura
- [Flirting with Crystal, A Rubyist's Perspective](http://www.akitaonrails.com/2016/05/31/flirting-with-crystal-a-rubyist-perspective?utm_source=rubyweekly&utm_medium=email) opinion 
[Crystal](http://crystal-lang.org/) is a Ruby-esque compiled language. Fabio Akita
- [Trailblazer In 20 Minutes (Actually, Even Less)](http://trailblazer.to/guides/trailblazer-in-20-minutes.html?utm_source=rubyweekly&utm_medium=email) opinion 
A look at how Trailblazer’s extensions to conventional MVC could help you write better structured software. Trailblazer
- [An x-ray machine? For your production apps? Starting at $19?](https://appsignal.com/plans/?utm_source=rubyweekly&utm_medium=email&utm_content=x-ray&utm_campaign=299) tools 
AppSignal alerts you about errors and detects performance issues. It’s the one tool every team should have. [Try it now.](https://appsignal.com/plans/?utm_source=rubyweekly&utm_medium=email&utm_content=x-ray&utm_campaign=299) AppSignalSponsored
- [Sysrandom: Secure Random Number Generation for Ruby](https://github.com/cryptosphere/sysrandom?utm_source=rubyweekly&utm_medium=email) code 
Uses system RNG facilities, such as `/dev/urandom`. Cryptosphere
- [bank_exchange_ruby_api: Official Ruby client for BankExchange](https://github.com/BankExchange/bank_exchange_ruby_api?utm_source=rubyweekly&utm_medium=email) code 
An API to get historical exchange rates from numerous central banks. BankExchange
- [Down: An open-uri Wrapper That Improves Upon open-uri](http://twin.github.io/improving-open-uri/?utm_source=rubyweekly&utm_medium=email) code Janko Marohnić
- [latexml-ruby: A Ruby Wrapper for LaTeXML](https://github.com/Authorea/latexml-ruby?utm_source=rubyweekly&utm_medium=email) code 
LaTeXML is a LaTeX to XML/HTML/ePub converter. Authorea

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

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