5:21 Play Subscribe with or Intro song by Falseta

Episode #107 - August 31, 2010

2df14bd29ca441a9d4656f0abae2e0ab.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Gregg Pollack 0d2bf6fbf141a1995560fa9273992ff0.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Nathaniel Bibler

Rails 3 has been released, memcached received a new Ruby library, and RubyDoc.info is in your RubyGems generating your YARD docs. Also, API versioning, extended transaction support, tutorials and more are on this episode of Ruby5.

Subscribe to our mailing list!

This episode is sponsored by Screencasts.org. Thoughtful, high-quality, in-depth video tutorials for popular languages and frameworks.

  • Screencasts.org
  • Rails 3.0
  • Dalli
  • Rails 3 Tutorial
  • RubyDoc.info
  • ar_after_transaction
  • Route Versions
  • Charity:Water
  • Ruby5

ar_after_transaction Jump to Story

If you're performing complex database logic in your application, then you (hopefully) know about transactions. And, if so, you know that there are occasions where you want to execute certain code if and when a transaction is successful. And, Michael Grosser decided to codify that sentiment with ar_after_transaction. It gives you an after_commit hook where you can write methods that should run only on complete, success.

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.

October 7th, 2014

Rails data migrations, tools for optimization, Bundler::Updater, using UUID with Postgres, 20,000 Leagues Under Active Record, and Ruby 2.2.0