Episodes
Because I'm going to be testing in cucumber sections of the site that require a user to be logged in, I decided to get it out of the way. So, in this video, I write a cucumber feature to test login and round it off with a few tests on the devise generated user model to make sure it continues to behave as I expect it to as I update it throughout the process of building this application. Download 191.8 MB Download (iPhone & iPod) 87.2 MB
Published 01/21/11
Here is what I've done to create this application: Use the 'rails new' command to create a rails application Set up the Gemfile Configure the Database Install Cucumber Install Rspec Install Devise Install CanCan Install jQuery Configure Devise Download (HD) 84.2 MB Download (iPod & iPhone) 47.4 MB
Published 01/14/11
This video demonstrates how to build a countdown timer with the setInterval function in Javascript, a text field, and jQuery to update your text field. Download 70.8 MB Download (iPhone & iPod) 40.6 MB
Published 11/30/10
Capistrano has been the most popular way to deploy Ruby and Rails applications for a long time. This video provides a quick demonstration of a basic recipe for deploying a Rails 3 application. I made this video a while ago and I realized that I never posted it. Here is a very basic recipe for deploying with Capistrano. Download 30.1 MB Download (iPhone & iPod) 13.3 MB
Published 11/27/10
I'm trying something new and using the YouTube player. Let me know if you see any differences. In this video, I demonstrate how to create, merge, and delete local and remote branches in Git. Git is a Source Control Management system written by Linus Torvalds for managing development on the Linux operating system. Download (29.3 MB) Download (iPhone & iPod) (16.3 MB)
Published 10/28/10
Twitter just turned off Basic Auth and is forcing application developer to use OAuth. Here is a demonstration of how to add Twitter OAuth to your Ruby on Rails Application. Download 90.9 MB Download (iPod & iPhone) 45.6 MB
Published 10/06/10
Sinatra has a really nice DSL. You can fake the basics of the DSL with some simple Rack middleware created by metaprogramming. If you like the screencasts, please give $5 to help me get to RubyConf Download (64.2 MB) Download iPhone & iPod (35.6 MB)
Published 09/24/10
Rack is the basis for most major web frameworks in Ruby (like Ruby on Rails.) This video gives a basic overview on how it is used and what features make it a powerful component for Ruby Web Frameworks Download 36 MB Download (iPod & iPhone) 25 MB
Published 08/27/10
This is the continuation of the Rails 3 Build a Blog series. This episode includes implementation of the Edit and Destroy methods on the Posts Controller. There are a lot of things left to cover on Rails 3, but this gets you the basics of the MVC framework and how to use Cucumber to build your application using BDD. Download 361.3 MB Download (iPhone/iPod) 79.9 MB
Published 08/10/10
In this screencast, I show you how to generate the api and guides for offline viewing. Download 28MB Download iPhone/iPod 7MB
Published 08/06/10
This video goes over some issues that popped up while upgrading a Rails 3 application to the Release Candidate This video goes over some issues that popped up while upgrading a Rails 3 application to the Release Candidate. Download 131 MB Download (iphone & ipod) 11.7 MB
Published 07/27/10
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.) Download 49.1 MB Download (iphone & ipod) 7.6 MB
Published 07/16/10
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. Download 161.4 MB Download (iphone & ipod) 65.8 MB
Published 06/30/10
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. Download 142 MB Download (iphone & ipod) 59 MB
Published 06/22/10
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. Download 27 MB Download (iphone & ipod) 14 MB
Published 06/03/10
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
Published 05/27/10
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
Published 05/18/10
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
Published 05/05/10
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! Download 116.1 MB Download (iphone & ipod) 55.8 MB
Published 04/20/10
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. Download 35.8 MB Download (iphone & ipod) 14.7 MB
Published 04/13/10
Ruby on Rails allows you to nest models within a form. Ryan Bates of Railscasts demonstrated how to set up these forms with JavaScript using the Prototype framework, which ships with Rails. In this episode, Charles Max Wood gives a brief overview of how Ryan's code works, and then refactors the JavaScript to use JQuery. Ryan Bates demonstrated how to build a form with nested attributes in Ruby on Rails with Prototype. This screencast demonstrates how to refactor that form into usage of...
Published 04/06/10
RVM is a program that allows you to install and manage multiple versions of Ruby and Gems. This setup is ideal for testing your application or gem (library) against multiple versions of Ruby.Also, if you're looking into Rails 3 on Ruby 1.9 this is a great way to try it out. Are you thinking about moving your application to Ruby 1.9? Do you have a gem or plugin you need to test in multiple Ruby versions? RVM is your tool. It allows you to manage and install multiple Ruby versions and the...
Published 03/23/10
Loading multiple Ruby Gems can result in runtime errors when an incompatible version of a gem dependency is already loaded as a dependency of another gem.Gem bundler can also pre-load and cache gems for faster loading. Having two gems that require different versions of the same dependency can sometimes cause runtime errors. Yehuda Katz and Carl Lerche have created an elegant solution in the Gem Bundler. Download 108.8 MB Download (iphone & ipod) 48.8 MB
Published 03/10/10