4:56 Play Subscribe with or Intro song by Falseta

Episode #287 - July 10th, 2012

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

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.

August 27, 2014

In today's episode we cover the new Rails 4.2beta, JSON API Resources, Country Select 2.0, Harpoon, Poodr course learning, and Feature Focus all while riding in our Roles Royce.

August 22nd, 2014

Semaphore is now free for open source projects, URL extraction with PostRank-URI, STI with JSON fields, a different approach to email validation, transit-rails, and the Pixel Perfect Precision Handbook all in this episode of the Ruby5!

August 19th, 2014

We talk about Rails 4.0.9 and 4.1.5, flatten records, introduce Http::Exceptions, manage configurations, and update Devise.

August 15th, 2014

Dokkufy, Rails Helpers, JRuby, Xiki and DHH code review