Help out: share this site!

Latest Screencasts

Upgrading Rails 3.0 Beta4 to Rails 3.0 Release Candidate

Teach Me To Code - 2010-07-27 - free

This video goes over some issues that popped up while upgrading a Rails 3 application to the Release Candidate. Watch this screencast


Ruby's Enumerable Module: The Inject Method

Teach Me To Code - 2010-07-16 - free

Quick Ruby Tip: The inject method is useful for aggregating data across a dataset. For example a summation could be done with inject (by aggregating each number into the sum.) Watch this screencast


Rails 3- Building a Blog - Part 2: CRUD Show and Create

Teach Me To Code - 2010-06-30 - free

The second part of the tutorial for building a blog with Ruby on Rails version 3. We demonstrate how to set up some basic routes, manage the controller and views, and create a basic form for creating posts. Watch this screencast


Every good project needs a good setup. In this episode, I set up a github repo, create a new rails application, hook in Cucumber and Rspec, write a Cucumber feature, and write the code to make it pass. Watch this screencast


RSpec Matchers

Teach Me To Code - 2010-06-03 - free

RSpec gives us many powerful tools to make our tests readable. Matchers allow us to provide custom predicates to our should statements that succinctly define the behavior of our code. Watch this screencast


Ruby Method Name with Spaces

Teach Me To Code - 2010-05-27 - free

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. Watch this screencast


Shoulda on Rails

Teach Me To Code - 2010-05-18 - free

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. Watch this screencast


RSpec Subjects

Teach Me To Code - 2010-05-05 - free

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. Watch this screencast


Code Metrics with Metric Fu

Teach Me To Code - 2010-04-20 - free

Maintainability of your code can be measured in many different ways. Jake Scruggs has combined several of the tools that measure you code into one Ruby Gem: metric_fu. Here's a demonstration. Go check it out! Watch this screencast


Ruby's Percent Functions

Teach Me To Code - 2010-04-13 - free

Ruby uses special characters to define certain data types. If you wish to use these characters in your data types, you need to escape them or use percent functions. Percent functions are much simpler. Watch this screencast