This episode covers Ruby methods you should be using, code metrics that matter, using ES6 on the Rails asset pipeline, tampering with network connections, automatically prefixing email subject lines and phone verification using SMS.

Listen to this episode on Ruby5

Sponsored by Top Ruby Jobs

If you’re looking for a top Ruby job or for top Ruby talent, then you should check out Top Ruby Jobs. Top Ruby Jobs is a website dedicated to the best jobs available in the Ruby community.


Top Ruby Jobs

Useful Methods

Ben Lewis wrote an article about Five Ruby Methods you should be using. He covers Object#tap, Array#bsearch, Enumerable#flat_map, Array.new with a block, and the sort operator (a.k.a. spaceship).


Useful Methods

Metrics That Matter

Chris Kottom published an article covering a few of the code metrics that he feels don’t necessarily matter, like 100% code coverage. He focuses on a few that do, including performance, complexity, and security.


Metrics That Matter

sprockets-traceur

The sprockets-traceur gem by Adam Pohorecki allows us to use the new features from ECMAScript 6 in Rails apps today, before the next version of JavaScript is officially released. Since a lot of Rails apps tend to make heavy use of JavaScript, it’s good to be able to try out some of these features sooner than later.


sprockets-traceur

Toxiproxy

The team at Shopify recently released a new library for tampering with network connections called Toxiproxy. It provides a TCP proxy system which can be used to simulate network and system conditions.


Toxiproxy

email_prefixer

The email_prefixer gem by Ryan Sonnek automatically adds a prefix to the subject line of all delivered emails in development and staging. Great use of ActionMailer::Interceptor, a feature added in Rails 3.1.


email_prefixer

Phone verification using SMS via Twilio

Santosh Wadghule published a guide on how to perform phone number verification in your Ruby application using the Twilio API. Who needs CAPTCHA? I’m just gonna TEXTYA!


Phone verification using SMS via Twilio

Sponsored by Ruby5

Ruby5 is released Tuesday and Friday mornings. To stay informed about and active with this podcast, we encourage you to do one of the following:

This episode was co-produced and edited by audio guru Jamison Rabbe.


Thank You for Listening to Ruby5
Read more at the source