4:56 Play Subscribe with or Intro song by Falseta

Episode #287 - July 10th, 2012

E1574ab5d4fc1e9178987de73c8f3c07.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Eric Allam 9c5541e591a62dd93a2fd2d45b5732dd.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Olivier Lacan

The State of the Ruby stack, neater Dotfiles, ActiveRelation merge, ways to learn RubyMotion, custom flash types, and Asynchronicity.

Subscribe to our mailing list!

This episode is sponsored by Top Ruby Jobs. Everyone deserves to love their job (and it's probably in Ruby).

  • TopRubyJobs
  • State of the Stacks
  • Dotify
  • ActiveRelation merge
  • RubyMotion Tutorials
  • Custom Flash Types
  • TotW: Async
  • Ruby5

ActiveRelation merge, a hidden merge Jump to Story

Scopes are a neat feature of Rails 3, but what happens when you need to use a scope from an associated model to filter something on the current model. Imagine you have a User that has many articles through a Collaboration model. Now you have an article and you want to get the users that were editors on that article with a single query. The collaboration already has an editorial scope so why not use that? With Arel merge you can do exactly that, effectively using another model’s scope to filter a query.

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.