Month: May 2010

Ruby Method Name with Spaces

This is an introduction to Ruby metaprogramming where I cover two different ways to define a method. The idea actually started as a joke, but there are valuable lessons to be learned here. Download 11.2 MB Download (iphone & ipod) 4.9 MB

Read More

TMTC 21 – Miles Forrest – Part 2

This part of the interview starts off with Miles and I talking about professional tracks that we're on. He downplays his understanding of Ruby on Rails a little. He did mention that he's been using Michael Hartl's Rails Tutorials. He also brought up the idea of micro brigades—groups of 2-4 people who can become super…

Read More

Shoulda on Rails

Shoulda is a framework that sits on top of Test::Unit and adds a ton of nice features like macro’s, nested context, and the ability to create custom tests in a block-based DSL. Download 160.2 MB Download (iphone & ipod) 71.9 MB

Read More

TMTC 20 – Miles Forrest – Part 1

Miles is a great guy. We had a terrific time talking about podcasting, work, life, and programming. One major theme that keeps coming up in my life and came up in this podcast was the discussion over doing what you love to do. I met Miles at RailsConf 2009 and at Mountain West RubyConf in…

Read More

TMTC 19 – Kevin Rutherford Interview

This week's episode is an interview I did a few weeks ago with Kevin Rutherford. Kevin is the author of Refactoring in Ruby. He's an agile coach, and blogs at http://silkandspinach.net. Finally, he has written the reek tool, which identifies code smells in your code. Kevin is a big proponent of project automation like build scripts, deployment scripts, etc….

Read More

RSpec Subjects

RSpec provides an extremely concise way of representing simple tests to be called on new instances of a class or on explicitly defined receiver objects. You can do this by using ‘subjects’ either as defined by the ‘describe’ or the ‘subject’ methods. Download 38 MB Download (iphone & ipod) 18.2 MB

Read More

TMTC 18 – Dave Thomas Interview – Part 2

This episode of the teachmetocode podcast, Dave talks us through the process he and Andy Hunt went through in founding the Pragmatic Programmers book series and publishing company. Dave also talks about the the advantages that they have had by not holding onto or being mired down by the way things have always been done…

Read More