Teach Me To Code Screencasts

Setting Up And Testing Devise – Delicious Clone

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…

Read More

Rails 3.0.3 Setup – Delicious Clone

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

Read More

How to Create a Countdown Timer with Javascript

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

Read More

Basic Deployment with Capistrano

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…

Read More

Managing Branches with Git

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…

Read More

OAuth with the Twitter Gem

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

Read More

Faking Sinatra with Rack and Metaprogramming

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)

Read More

Rack Basics

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

Read More

Rails 3 – Build a Blog – Part 3: Edit and Delete CRUD

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…

Read More

Rails 3 Documentation: Generate Your Own

In this screencast, I show you how to generate the api and guides for offline viewing. Download 28MB Download iPhone/iPod 7MB

Read More

Upgrading Rails 3.0 Beta4 to Rails 3.0 Release Candidate

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

Read More

Ruby’s Enumerable Module: The Inject Method

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

Read More