Ruby on Rails 3 was released just a short time ago and is a fairly big changed to previous versions of the Rails framework. People are starting to put together some great content to help developers come up-to-speed on Rails 3.
I began looking around for some Rails 3 content for my own use, even though I use a variety of beta books for the purpose, I found these resources really useful. This brought me to the realization some readers may find value.
1. Ruby on Rails Tutorial by Michael Hartl
This is such a great resource; offering a range of content that includes a Ruby on Rails Tutorial book as well as a set of videos with material from the book. The book is available to read on-line, purchase as a PDF or the dead tree version available from Addison-Wesley.
The videos are a real sweet spot in my opinion, with 15 hrs of video training for $85. Try to get 2-days of training from anyone at that price.
Table of Contents
- Rails installation (OS X/Linux) (13m)
- Git .bashrc lines
- Rails installation (Windows) (8m)
- Lesson 1: From zero to deploy (46m)
- Lesson 2: A demo app (1h11m)
- OS X testing setup (8m)
- Lesson 3: Mostly static pages (57m)
- Lesson 4: Rails-flavored Ruby (1h45m)
- Lesson 5: Filling in the layout (1h10m)
- Lesson 6: Modeling and viewing users, part I (1h30m)
- Lesson 7: Modeling and viewing users, part II (1h40m)
- Lesson 8: Sign up (1h22m)
- Lesson 9: Sign in, sign out (1h36m)
- Lesson 10: Updating, showing, and deleting users (2h25m)
- Lesson 11: User microposts (2h03m)
- Lesson 12: Following users (2h19m)
I have gone through both the book, Rails 3 version, and the screencasts looking for nuggets of information I may not be aware of in Rails 3. The screen casts are presented in a such a well-thought-out manner that makes them easy to follow and will not put you to sleep.
Michael covers a lot of great basic topics but also includes specific coverage of such things as setting up and using Devise for authentication. He also covers Test-Driven Development (TDD) very well using RSpec. There are a lot of how-to tips with TDD alone to save you hours.
2. PeepCode: Meet Rails 3 Part 01
I always love the content put out by PeepCode and Geoffrey Grosenbach and his recent Meet Rails 3 Part 01 was no exception.
This screen cast covers the beginning aspects of getting into Rails development both on Mac and Windows. I was pleasantly surprised to see my blog post Running Rails 3 on Windows was used as a reference for users to setup and use Rails 3 on Windows.
PeepCode has been providing screencasts for a long time and is likely to the first to offer those covering Ruby on Rails.
3. Dive into Rails 3 Screencasts
The Dive into Rails 3 screencasts put out by Gregg Pollack were probably the first series focused on Rails 3 right around the time Rails 3 was released.
Gregg covers many of the hot topics emerging in Rails 3 today:
- Getting Started & Action Dispatch
- Bundler & Action Mailer
- Active Relation & Active Model
- Cross-site scripting & Unobtrusive JS
- The New Action Controller
These are screencasts talk about what is new in Rails 3, so some knowledge of Rails 2.x would be helpful to get the most out of these.
Ryan Bates has been making the weekly release of a RailsCast what seems like forever now. Currently there are 240 episodes up on the site, and by my precise calculations..that?s around 4 1/2 years of great content. Most episodes range between 10 and 15 minutes of focused content on a particular topic.
At last count Ryan had 25 screen casts covering different aspects of Rails 3 from the basics to new validations to implementing Devise. These episodes are laser focused to they are best used with some prior knowledge first, possibly go through the Tekpub or RailsTutorial first.
5. TekPub Rails 3 Series
The Rails 3 series from TekPub currently has 6 episodes running 5+ hours. The typical series from TekPub is one that starts off with a single episode with more added over a few weeks.
I have been a Tekpub subscriber since it first opened in October 2009 and love the format of their training.
This series is promoted as:
In this series Rob Conery shows you Rails 3 and the core concepts involved. The focus of this series is a bit more practical than theoretical – with the goal of showing you not only Rails, but many of the tools to help you get your site up and running quickly and effectively.
Rob has a been doing screencasts for a long time and has really honed his voice to be the soothing voice you hear on each episode. Each episode is on a different topic and covers it very well in the 1 hour dedicated. As I write this, Rob has 6 episodes:
- Why You Should Care About Rails 3
- Controller Fundamentals
- Controller Deep Dive
- View Concepts
- Model Concepts
6. Rails 3 Upgrade Handbook
Long-time Ruby and Rails community member Jeremy McAnally has written up this great handbook on how to take your pre-Rails 3 application into the Rails 3 world.
So many projects exist out in the wild that his handbook is invaluable.
Unlike the other resources I have listed, this is not a screencast but is available as an ebook. I felt is was just such a great resource for Rails 3 and it tied in so well with coming up-to-speed on Rails 3 and the likelihood you might be upgrading a Rails 2.x application to the latest.
The guide is a beauty, it really covers the pain points a developer will face when upgrading their application to Rails 3 and shows how to get around them. He includes use of his gem to help with the process as well as checklists for deprecations and the upgrade process itself.
Moving your application to Rails 3? You need this guide.