---
title: "#359: Realtime with React and Rails"
publication: "Ruby Weekly"
issue: 359
published_at: "2017-07-27"
canonical_url: "https://rubyweekly.com/issues/359"
---

#359: Realtime with React and Rails

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

Ruby WeeklyIssue 359 — July 27, 2017

Leigh Halliday[Realtime with React and Rails](https://blog.codeship.com/realtime-with-react-and-rails/)To showcase using ActionCable in a Rails app with React, let’s explore how to use Rails, React, MobX, and websockets in a realtime location app.


Rahul Mahale[Deploying Rails Apps on Kubernetes with No Downtime](http://blog.bigbinary.com/2017/07/25/deploying-rails-applications-using-kubernetes-with-zero-downtime.html)Kubernetes offers readiness probes and rolling updates to make sure your app is always serving requests during a new deployment.


Marc Anguera[Maily: A Rails Engine to Preview Outgoing Emails](https://github.com/markets/maily)A mountable engine that provides a browser-based preview of mail templates, as well as being able to send test mails.


ROLLBARSponsored[Reduce your time spent debugging by 90%](https://rollbar.com/rubyweekly)Reduce time wasted debugging. Automatically capture errors in Ruby apps. Rollbar detects when code breaks in real-time and provides full stack trace and diagnostic data to help you defeat Ruby errors. [Learn more](https://rollbar.com/rubyweekly).


Kevin Kuchta[Disguising Ruby as JavaScript](http://kevinkuchta.com/_site/2017/07/disguising-ruby-as-javascript/)This is _purely for fun_ but it’s an interesting experiment into a task that no-one should, ideally, use in production(!)


DNSimple[How DNSimple's Latest API Architecture is Built with Hanami](https://blog.dnsimple.com/2017/07/api-v2-architecture/)How DNSimple organized a Hanami application to serve up their newest API and decoupled the Rails UI from the backend.


Jobs

- [Senior Backend Engineer at Stash (New York City)](https://www.stashinvest.com/careers?gh_jid=745125&gh_src=abrgws1)We're looking for a Senior Backend Software Engineer with a passion for building reliable, scalable, and performant software. Stash
- [Backend Platform Engineer at HotelTonight (SF)](https://jobs.lever.co/hoteltonight/6e3512c0-13d3-4757-ac42-d9910db4cd63?utm_source=rubyweekly&utm_medium=email)We're an award winning mobile platform that delivers personalized experiences for booking last-minute hotels. Build and question with an awesome team culture. HotelTonight
- [Full stack Ruby and Rails dev (remote)](http://jobs.ably.io/o/full-stack-rails-developer?utm_source=rubyweekly&utm_medium=email)We’re a growing realtime platform solving truly complex distributed problems for the developer community. If you enjoy challenging your grey matter and building great web services, apply. ABLY.IO

In brief

- [The 'bootsnap' Gem is Now Part of the Rails Default Gemfile](https://github.com/rails/rails/pull/29313?utm_source=rubyweekly&utm_medium=email) news 
bootsnap reduces app boot time significantly. Ruby on Rails
- [Passenger 5.1.6: Fixes an NGINX Issue, plus extra Debian Packages](https://blog.phusion.nl/2017/07/20/passenger-5-1-6/?utm_source=rubyweekly&utm_medium=email) news Phusion Blog
- [Nominations Now Being Accepted for Ruby Prize 2017](https://www.ruby-lang.org/en/news/2017/07/21/ruby-prize-2017/?utm_source=rubyweekly&utm_medium=email) news The Ruby Association
- [Major Coding Bootcamp Ditches Rails, Claims Lower Employer Demand](https://thenextweb.com/dd/2017/07/26/ruby-rails-major-coding-bootcamp-ditches-due-waning-interest/#.tnw_JDPAqrum?utm_source=rubyweekly&utm_medium=email) news 
Replacing it with a Java + Spring course. The Next Web
- [Webinar: How to be a Performance Driven Engineer](https://www.vividcortex.com/resources/how-to-be-a-performance-driven-engineer?utm_campaign=Ruby%20Weekly&utm_source=ppc&utm_medium=Webinar%3A%20Performance%20Driven) 
Access this recording on guidelines, insights & principles for a performance-driven engineering mindset. VividCortexSponsored
- [Implementing Clojure's 'interpose' in Ruby](http://www.bcobb.net/clojures-interpose-in-ruby/?utm_source=rubyweekly&utm_medium=email) tutorial Brian Cobb
- [Quick Tip: Add Output to Your Long Running Rake Tasks](http://blog.nrowegt.com/add-output-to-long-running-rake-tasks/?utm_source=rubyweekly&utm_medium=email) tutorial Nathaniel Rowe
- [The Differences Between nil?, empty?, blank?, and present?](http://blog.arkency.com/2017/07/nil-empty-blank-ruby-rails-difference/?utm_source=rubyweekly&utm_medium=email) tutorial Arkency
- [Scope the Monkey: A Refinements Refresher](https://blog.alex-miller.co/ruby/2017/07/22/scope-the-monkey.html?utm_source=rubyweekly&utm_medium=email) tutorial 
A quick look at the problem that refinements fix and some gotchas when using them. Alex Miller
- [Build a Minimal Docker Container for Ruby Apps](https://blog.codeship.com/build-minimal-docker-container-ruby-apps/?utm_source=rubyweekly&utm_medium=email) tutorial Ilija Eftimov
- [The Dependency Inversion Principle](http://rubyblog.pro/2017/07/solid-dependency-inversion-principle?utm_source=rubyweekly&utm_medium=email) tutorial 
The last in a now-completed series on the SOLID design principles. Sergii Makagon
- [JSON Web Token Authentication in Rails APIs](https://paweljw.github.io/2017/07/rails-5.1-api-with-vue.js-frontend-part-4-authentication-and-authorization/?utm_source=rubyweekly&utm_medium=email) tutorial 
This tutorial builds the solution from scratch, including auth and admin users. Paweł J. Wal
- [Enforcing the Specific Location of a Method Call](http://alisnic.github.io/posts/validating-calltrace?utm_source=rubyweekly&utm_medium=email) tutorial 
Mostly cute trickery but you might learn something too. Andrei Lisnic
- [Everything You Need to Know About Ruby Constants](http://www.blackbytes.info/2017/07/ruby-constants/?utm_source=rubyweekly&utm_medium=email) tutorial Jesus Castello
- [Working with UUIDs in Rails](https://www.dailydrip.com/blog/working-with-uuids-in-rails.html?utm_source=rubyweekly&utm_medium=email) tutorial Franzé Jr.
- [Manifold Teams makes it easy for you to share cloud services](https://www.manifold.co/teams?utm_campaign=manifold-2017-wk-30&utm_source=newsletter&utm_medium=sponsorship&utm_content=ruby-weekly) 
Reserve your team name and be entered for a chance to score 1 of 5, $500 credits on Manifold. ManifoldSponsored
- [How Learning Elixir Made Me A Better Ruby Developer](https://www.amberbit.com/blog/2017/7/27/how-learning-elixir-made-me-better-ruby-developer/?utm_source=rubyweekly&utm_medium=email) story Hubert Łępicki
- [Benchmarking and Refactoring the content_for View Helper](https://www.driftingruby.com/episodes/benchmarking-and-refactoring-the-content_for-view-helper?utm_source=rubyweekly&utm_medium=email) video Drifting Ruby
- [A List of Ruby-Based Data Science Tools](https://github.com/arbox/data-science-with-ruby?utm_source=rubyweekly&utm_medium=email) tools Andrei Beliankou
- [system_tester: Create and Manage System Tests for Rails 5.1+](https://github.com/rlafranchi/system_tester?utm_source=rubyweekly&utm_medium=email) tools Richard LaFranchi
- [Linux cloud hosting starting at 1GB of RAM for $5/mo.](http://welcome.linode.com/ruby-weekly/?utm_source=cooperpress&utm_medium=sponsored&utm_campaign=ruby-weekly-sponsored) linodeSponsored
- [Traim: A Resource-Oriented Microframework for RESTful APIs](https://github.com/travisliu/traim?utm_source=rubyweekly&utm_medium=email) code 
A quick way to spin up a RESTful API for your Active Record models. Travis Liu
- [Down: For Flexible and Safe Downloading of Remote Files](https://github.com/janko-m/down?utm_source=rubyweekly&utm_medium=email) code Janko Marohnić

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

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