Michael Hartl announces the Rails Tutorial Vanguard
railstutorial.org
railstutorial.org
1) Give away something really valuable. Make people trust you and love you for it.
2) Build a large list of email subscribers.
3) Offer a premium course for a very large amount of money ($495 in this case). A small percentage will inevitably buy it, leading to large profits.
Some highlight differences difference being:
# ActiveRecord query syntax
2.X: User.all(:conditions => {:name => "aaron"}, :limit => 1)
3.X: User.where(:name => "aaron").limit(1)
# ActionMailer API now closely matches the ActionController API
2.X:
class Notifier
def user_notification(user)
recipients user.email
subject "test subject"
from "system@test.com"
body :user => user
end
end
3.X:
class Notifier
default :from => "system@test.com"
def user_notification(user)
@user = user
end
end
In Rails 3 Gem dependencies are managed using Bundler, which means that you have to explicitly declare all of the gems your application uses, even fundamental things like Rails and Rack. Calls to config.gem need to be removed, and added to a Gemfile instead.There are quite a few more API changes than what I have listed here, routes in particular will change greatly for complex applications. The full details are here: http://guides.rails.info/3_0_release_notes.html
So far, the tutorial actually seems fairly accurate. Differences so far: the tutorial has you use RSpec 1 for testing, but RSpec 2 (prerelease) is required for Rails 3. Also, routing is completely different in Rails 3, which shows up early on (when you create a new static page without autogenerating it) and then later in the routing section. Then there's the minor matter of using "rails generate" and "rails server" instead of "script/server" and "script/generate".
Last time I checked Railscasts.com was still free and better than any other screencasts I've ever seen, free or paid.
The Vanguard is a group to help make the screencasts; the screencast product itself will probably be over 10 hours and cost around $50, which I think is pretty cheap. And it will be designed to complement things like the Railscasts and PeepCode, which tend to cover intermediate and advanced topics; the Rails Tutorial screencasts are designed for beginners who aren't yet ready for that material.