Source code and errata updated

Jeffrey Hardy,
Sep 11, 2007

I’ve updated (and corrected) the source code for the book.

At the request of readers, I’ve now included the individual code listings for each chapter (previously, I’d included only the finished, sample application in its entirety). In addition to the app, the code archive now contains all the listings, (named for their listing numbers and filename), divided into directories by chapter. So, if you’re looking for Listing 3-5 from Chapter 3, you’ll find it in chapter03/3-5-event.rb. Observe:

j:~/book/source$ ls
README      chapter01   chapter03   chapter05   chapter07   chapter09   chapter11
application chapter02   chapter04   chapter06   chapter08   chapter10

j:~/book/source$ tree chapter03
chapter03
    |-- 3-1-database.yml
    |-- 3-2-001_create_events.rb
    |-- 3-3-001_create_events.rb
    |-- 3-4-events_controller.rb
    |-- 3-5-event.rb
    `-- 3-6-events_controller.rb

0 directories, 6 files

You get the idea.

This should make things a lot easier if you’re following along with the code in the book. Also note that I’ve been able to correct all the bugs/typos/errors in the code (which is much more forgiving than print). The errata list is nearly complete too, so if you’re reading the book you’ll want to check that out lest you get tripped up by something.

The source code and errata will always remain available at these locations:

The permanent links are over there in the sidebar.

Comments

Leave a response