During the last round of videos, we got quite a few emails about the unfair comparisons we were doing between PHP and Ruby on Rails. You know, PHP is a language and Ruby on Rails is a framework. Don't worry, everyone, we're listening. Here we are with ad #6 in the series: Ruby on Rails vs PHP. Enjoy.
Click here to view on YouTube.
If you like this one, check out our Ruby on Rails vs .NET commercial we released on Thursday.
Just like all of the others, this video was produced by Jason Hawkins and that beautiful Rails Envy logo was done by Erika Greco.
Jason and I are currently in Chicago for Rails Edge where today we just premiered a new Rails commercial produced by Jason Hawkins. We will be releasing 5 commercials over the next month, 2 .NET, 1 PHP, 1 Cold Fusion, and 1 DJango. Don't worry, after these few we're all done, so don't spam us about how you're sick of mac ad parodies.
Click to view on YouTube
If you don't get the "OOPS" reference you should really watch Creating a Weblog in 15 minutes, a screencast by DHH which will give you a glimpse at the power of Ruby on Rails. Stay tuned, we'll be releasing one more during RailsEdge tomorrow.
Last month I noticed the lack of a good ActiveRecord tutorial/screencast that goes from basic to advanced usage (with examples). So, I decided to put together a presentation on ActiveRecord for the Orlando Ruby Users Group.
UPDATE If you already know the basics (belongs to, has many), I then you might want to check out Advanced ActiveRecord, an Envycast Jason and I put together.
Otherwise the video below should get you started. You can download all the example code .
The video covers these topics:
Who invented ActiveRecord and why
How to use ActiveRecord
Basic model to table mapping
has_many relationships
Magical counter fields
Many to many relationships
has_many => through
Polymorphic relationships
acts_as_taggable
If you have a few minutes over lunch please take a look, and let me know if you have any questions/comments.