Latest Screencasts (page 2)
Gregory Brown Interview – Teach Me To Code Podcast
Teach Me To Code - 2011-06-24 - free
Gregory Brown is a longtime member of the Ruby community. His contributions to the community include his recent involvement in the RubyGems discussions, Ruby Best Practices, the Prawn library, and Ruby Mendicant University. Ruby Mendicant University is a free online school for software developers. It’s a blended teaching and mentoring program that helps people improve [...]
Watch this screencastPolymorphism with Many-to-Many Associations – A Teach Me To Code Tutorial
Teach Me To Code - 2011-06-03 - free
Polymorphic associations are very simple, as are many-to-many associations. When you blend the two, it’s not nearly as simple. Since there isn’t a working build-in mechanism for many-to-many polymorphic associations. Here’s a quick demo of what happens if you try to set up a traditional has_many :through association with a polymorphic association. I also show [...]
Watch this screencastMany to Many Associations in Ruby on Rails – A Teach Me To Code Tutorial
Teach Me To Code - 2011-05-27 - free
I had several requests in UserVoice to provide a Many to Many tutorial in Rails. This is a demonstration of how to put together a “has and belongs to many” association and a “has many through” association. This is somewhat basic to Ruby on Rails, but important if you need to associate different models. Download [...]
Watch this screencastAcceptance Tests with RSpec and Capybara
Teach Me To Code - 2011-05-23 - free
On the Ruby Rogues podcast I mentioned that I had moved away from Cucumber to RSpec and Capybara for my integration tests. Here’s a demo on how to do some TDD with RSpec and Capybara.
Watch this screencastCoffeeScript: The Cool Parts
Teach Me To Code - 2011-05-13 - free
CoffeeScript offers more than nice syntax for setting and managing data and functions. It also offers Classes, Inheritance, access to a ‘super’ method, Ruby-style string interpolation, easy variable and function bindings, and chained comparisons. Here’s the code I showed in the video: class Vehicle constructor: (@name) -> move: (miles) -> console.log @name + " drove [...]
Watch this screencastRails 3.1 Beta – Sprockets, CoffeeScript, and JQuery – A Teach Me To Code Tutorial
Teach Me To Code - 2011-05-07 - free
Ruby on Rails 3.1 is moving to use Sprockets to compile CoffeeScript into JavaScript and include JQuery in it’s JavaScript by default. This is a quick demo of how it all hangs together to manage your JavaScript in Rails 3.1.
Watch this screencastCoffeeScript Basics – A Teach Me To Code Tutorial
Teach Me To Code - 2011-04-15 - free
CoffeeScript is now going to be a default installation with Ruby on Rails. So, I installed CoffeeScript and NodeJS and have been playing with it for the last hour or so. Here are the basics you need to know to use CoffeeScript including functions, arrays, hashes (objects), control functions (if, else, unless) and loops. [...]
Watch this screencastSingle Table Inheritance – Ruby on Rails Tutorial
Teach Me To Code - 2011-04-08 - free
Single Table Inheritance is a great way to handle related models that descend from the same class. The classic example is a Car class with Ford, Chevy, and Honda subclasses. This Ruby on Rails Tutorial provides an example and explains how Rails puts all of the information in the same database table and allows [...]
Watch this screencastCompass, SASS, and the 960 Grid System – Delicious Clone
Teach Me To Code - 2011-03-25 - free
In preparing to show off SASS, I found the Compass system, which uses SASS and organizes your stylesheets in a unique way. In this tutorial, I walk you though installing compass, installing the 960 grid system, and organizing your SASS stylesheets in an intelligent way. One note, I couldn’t remember the URL for the 960 [...]
Watch this screencastCreating a Rake Task to Convert ERB to HAML
Teach Me To Code - 2011-03-18 - free
This is a basic demonstration of adding a rake task to Ruby on Rails. Some of the same principles apply to Rake in general. You also see how to call out to the command line and how to convert ERB and HTML to HAML.
Watch this screencast