5:44 Play Subscribe with or Intro song by Falseta

Episode #349 - February 28th, 2013

Cf989ae1f7ddd979f38b00ec033a0e7d.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Chris Mar 83a9ea91315fa15a082e280761dcef28.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 David Bock

New versions of all the things! Docs, clearing up maintenance plans, and as usual, a smattering of useful ruby tools (singleton_process, flight, gridhook, and assorted blog entries) in this RubyLoco-powered edition of Ruby5.

Subscribe to our mailing list!

This episode is sponsored by New Relic. New Relic gives you performance monitoring, tracking, and reporting of your web applications.

  • NewRelic
  • Rails 4b1
  • Rails Maintenance Policy?
  • singleton_process
  • twitter-flight-rails
  • gridhook
  • Clutch
  • Ruby2 by Example
  • Installing Rails4
  • Regex Shoutout
  • Ruby5

singleton_process Jump to Story

Here's the nightmare scenario - you have a rake task that runs every 5 minutes. You deploy, and all is good... but over the ensuing months, the process has to chunk through more and more data, and one day it takes more than 5 minutes to complete. A second process starts up before the first one finishes, and your world collapses into in-deterministic chaos! With the singleton_process gem, you can wrap your code in a couple lines and ensure the first process is done before the second one starts.

October 24th, 2014

Enforcing your environment with ENVied, easier payment integration with Payola, faster logic with pippi, multithreading in MRI, and Practicing Rails.

October 21st, 2014

Aimee and Nate talk about UltraHook, Using Capybara in Integration Tests, Background Processing with Einhorn, Barcelona Ruby Conf Top 5, and Raptor.

October 16th, 2014

Unary Operators, Writing fast Ruby, each_with_object, ES6 Transpiler and HStore

October 14th, 2014

RailsRumble, Ruby Motion for Rails devs, how Ruby Hashes work, how to deal with data migrations, clean up your routes file, and get better logs.