5:59 Play Subscribe with or Intro song by Falseta

Episode #396 - August 20th, 2013

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

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.

April 22nd, 2014

This week we cover Searchlight's 3.0, dumping code in models, this week in Rails commits, Whiny Validations, Bootstrap 3 support for Simple Form, and how to be an open source gardener.

April 18th, 2014

URL parsing with Rippersnapper, awesome APIs with Pliny, thread-safe utilities from Charles Nutter, a revival of the invoicing gem, info about recursion and memoization, querying git with gitql, and refactoring bad controllers all in this episode of the Ruby5 podcast!

April 15th, 2014

In this episode we cover the results of the Cloudflare Heartbleed challenge, tracking trends in the Ruby community with the Ruby Survey, Rails 4.1 ActiveRecord enums, iStats for CPU temperature on OS X and some Insanely Useful ActiveAdmin Customizations.

April 11th, 2014

The internet is heartbleeding plus exciting rails 4.1 features. With special guest Nathan Hessler.