5:59 Play Subscribe with or Intro song by Falseta

Episode #396 - August 20th, 2013

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

Rails 4.1 feature call, Bundler local paths, multi-table full text search in Postgres, handy predicates, strong parameters by example, merged docs for Ruby 2.0 & Rails 4.0 and Rails API testing best practices.

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
  • Rails 4.1
  • Bundler Local Paths
  • Multi-Table Full Text Search
  • Know Thy Predicates
  • Strong Params by Example
  • Ruby 2.0 & Rails 4.0 Docs
  • Rails API Testing Best Practices
  • Ruby5

Know Thy Predicates Jump to Story

Ruby, like most programming language allows people to write conditionals to determine whether: an integer is odd or even, greater than another, or between two integers. Except in many cases there are better ways to do this in a more object-oriented way using the predicate methods defined on core ruby classes like Fixnum. And that’s exactly what Bozhidar Ivanov Batsov demonstrates a neat blog post called Know Thy Predicates. Many of these predicates tend to make your code more expressive. Although as Bozhidar mentions in the post, they require you to be careful about the risk of calling these methods on nil since your conditional will explode with a NoMethodError instead of false.

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