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.

October 16th, 2014

Unary Operators, Writing fast Ruby, each_with_object, ES6 Transpiler and HStore

October 14th, 2014

RailsRumble, Ruby Motion for Rails devs, how Ruby Hashes work, how to deal with data migrations, clean up your routes file, and get better logs.

October 7th, 2014

Rails data migrations, tools for optimization, Bundler::Updater, using UUID with Postgres, 20,000 Leagues Under Active Record, and Ruby 2.2.0

October 3rd, 2014

Greenscreen.io, rails-disco, onboarding your junior devs, being a better Rubyist, staging environments, and the anti-pattern of absolutes all in this episode of the Ruby5.