On Fri, Jul 30, 2010 at 7:42 AM, Ar Chron <[email protected]> wrote: > But please do try to find a newer tutorial... the depot tutorial is > ancient, and many things have changed..
I'm assuming the depot example is the one from Agile Web Development with Rails. There have been 3 printed editions of AWDWR, the first came out right before Rails 1.0, the second covered Rails 1.1 (which had lots of changes) but was before the change to timestamped migrations*. The latest, for which Sam Ruby took over the role of primary author from Dave Thomas, covers Rails 2.x and is the first to show timestamped migrations. In each of these the depot app has been brought up to the, then, current version of Rails. And there's a fourth edition in preparation which covers Rails 3. It's available under the Pragmatic Programmers beta program, in softcopy (pdf, epub, and mobi formats) updated as they get closer to press, and optionally as a pre-ordered print edition. Since I'm a bit of a pack-rat, my bookshelf holds all 3 printed editions, I bought the beta versions of at least the 3rd and upcoming 4th editions. I always used to pre-order the paper copy, but since I seem to be able to comfortably read books and the like on my iPad (something I was never comfortable with on a desktop or laptop). I decided to just go with the soft copy, * It hasn't been mentioned, but the reason rails went from sequence numbered to timestamped migrations is that on projects with more than one developer it was not uncommon to have collisions over the numbering when different developers were working on different branches. Since it's highly unlikely that two developers will generate migrations at the same second, this goes a long way to alleviate the problem. As with many things in Rails, it started out as a patch/plugin from some Rails user and eventually got assimilated into the Borg^h^h^h^h^h^h^h^hRails. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

