4:53 Play Subscribe with or Intro song by Falseta

Episode #377 - June 11th, 2013

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

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.

October 28th, 2014

Speech recognition with pocketsphinx-ruby, a recent update on the chatbot framework Lita, building and distributing OS X applications with ognivo, using Neo4j in rails, and rails rumble is over!

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