6:21 Play Subscribe with or Intro song by Falseta

Episode #321 - November 9th, 2012

2d87773eac5b0f45eaeffdeade7bd59d.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Jon Larkowski 3615ab75201ede5880e779287a6b5316.jpg?s=18&r=pg&d=http%3a%2f%2fwww.gravatar.com%2favatar%2f8ebf4339f7c8cd73b53d1d1d3eba7c35 Les Hill

Today's Ruby5 goes BOOM! with some great advice from Joe Ferris on testing Javascript and not getting carried away with RSpec's DSL. Evan Light shows us the pitfalls of accepts_nested_attributes_for, some fat model refactoring, and more, more! MORE!

Subscribe to our mailing list!

This episode is sponsored by New Relic. New Relic gives you performance monitoring, tracking, and reporting of your web applications.

  • New Relic
  • redtape gem
  • Refactor your models
  • Test External JS Requests
  • Ruby method lookup internals
  • Let's Not
  • Refinements, FIGHT!
  • Ruby5

#accepts_nested_attributes_for (often) considered harmful Jump to Story

Evan Light blogs about code coupling problems when using accepts_nested_attributes_for, and how his new "redtape" gem utilizes the Form Object pattern to allow UI to vary independently from model.

August 1st, 2014

Learning to deploy with capistrano, memoization patterns, better APIs with mocaroni, middleman-presentation, and RubyConf 2014 all in this episode of the Ruby5!

July 29th, 2014

In this episode we cover the new Rails 4.2 HTML sanitizer, speeding up tests with ActiveMocker, logging validation errors with validation_auditor, Understanding Timeouts in CRuby, parsing JSON API with Roar and RubyConf Portugal.

July 25nd, 2014

Rails Rumble, Debug Anything and Speeding up Rails

July 22nd, 2014

Get your mind in the Gutter, agree that Programming is Not Math, be a RubyCritic, master Vim Plugins for Ruby, review 3 Ways to Create Classes in Ruby, and take a trip to RailsPacific.