4:53 Play Subscribe with or Intro song by Falseta

Episode #377 - June 11th, 2013

30d011dd1b103a523f5bc75cf4b31833.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Aimee Simone 9c5541e591a62dd93a2fd2d45b5732dd.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Olivier Lacan

RubyGems paranoia, unexpected chained scopes in Rails 4, Rubberband flamethrowers, Stripe with Rails, and efficient Git pairing.

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
  • RubyGems Paranoia
  • Scopes in Rails 4
  • Rubberband Flamethrower
  • Stripe with Rails
  • Git Pairing
  • Ruby5

Chaining Scopes in Rails 4 Jump to Story

On the Envy Labs blog, Carlos Souza talks about the surprising new behavior of ActiveRecord scopes in Rails 4. It’s possible to chain scopes in Rails, which means the scopes will be combined to create a specific query that satisfies all the conditions. To keep it simple, in the situation where you might have 2 scopes involving the same column, Rails used to play dumb and ignore the first condition altogether. In Rails 4, this behavior changes and the two conditions are combined with an “AND” SQL statement.

September 12th, 2014

@rubystrings, Global Day of Coderetreat 2014, Asynchronous Integration Tests With Capybara, nice rake tasks, and module prepend in rails 5

September 9th, 2014

This episode covers RSpec 3.1, unifying multiple analytics services with Rack::Tracker, new features in Rails 4.2, the Fearless Rails Deployment book, a spike for thoughts about Rack 2.0 with The_Metal and RubyConf Portugal.

September 5th, 2014

Reading Rails talks TimeWithZone, descriptive_statistics, new gems in Rails 4.2, Paperdragon, and using Ruby's English operators all in this episode of the Ruby5 podcast!

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.