4:56 Play Subscribe with or

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.

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.

May 17th, 2013

Today's episode covers a major release for minitest, some JSON standards work, a tutorial on tagging with ActiveRecord and Postgres (plus an arduino to trigger the spray paint can), a RubyMotion tutorial and a little thing called CoVim that will blow your mind.

May 14th, 2013

From multi to native json, JoyBox hits 1.0, ContextValidations and FormObjects, teaching kids at KidsCodeCamp, Plataformatec gems, tab navigation with Tabulous 2 and Git Real 2 online course.

May 10th, 2013

Manage access via GitHub organizations, RubyMotion 2.0, Sidekiq Pro 1.0, deprecating `::`, under the hood of Ruby's method dispatch, and the reform gem all in this episode of Ruby5.

May 7th, 2013

We Adequackly cover RailsConf and free Rails 4 videos, Phusion Passenger 4.0.1, a Better STI approach, logging your Mail, and setting up a Rails 4 Server, all while releasing the Jekyll on this episode of Ruby5.