We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P1.0, released about 1 month ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
19

#31639: ">>>>>>> .r32877"

Spurious leftover from svn merge?--Brian Candler

B4.0
21
#32303: at the bottom of the page, i think the URLs shown for the trunk and the branch should include "svn" rather than "deployit": svn copy --mess...more...
P1.0
22
#32307: In the merging stable branches section at the top of page 22 in the paper edition of the book, there is a directory path context switch that c...more...
P1.0
23

#32270: "We use svn import with the --force option..." does not match up with any code snippet.
--Wayne Conrad

B4.0
24
#31638: The svn mkdir --message "Initial project layout" command is missing the name of the directory that you want to make. I assume that you want...more...
B4.0
25
#32271: "Database Structure Dumps During Testing: When you run the tests, Rails will dump the development database's structure to db/schema.rb(3)." ...more...
B4.0
25
#31736: Rails 2.0.2 adds the tmp directory as well as tmp/cache tmp/pids tmp/sessions and tmp/sockets. The svn mkdir command errors when using the com...more...
B4.0
27
#31640: "I discuss this solution in the (as yet) unwritten sect.vc.deploy.using-capistrano-for-deployingdatabase.yml" If this is the final beta bef...more...
B4.0
30

#31674: $ cap deploy_with_migrations

should read:

$ cap deploy:migrations--sideshow

B4.0
35
#32306: Page 35, under the N+1 Problem: The code section lists: friends = Person.find(:all, :conditions => some_friend_connections) @friend_add...more...
P1.0
38
#32272: typo: "has_many()has_one()," should be "has_many(), has one()," style: "belongs_to(), and has_and_belongs_to_many()" doesn't need th...more...
B4.0
83
#32012: Shouldn't the authme function be function authme { ssh $1 -p 8888 .... } Just following on from the suggestion above that you shoul...more...
B4.0
85

#31702: root# sudo gem install rails --no-rdoc --no-ri

Is sudo actually needed? We are already root...--Hywel Mallett

B4.0
119
#31688: "Do a Push Deploy Instead of Pull" There is a problem with "set :deploy_via, :copy" which caused me a lot of head scratching. SFTP was lock...more...
B4.0
121
#31993: Have you thought about using 'latest_release' instead of 'release_path' for your link_images task? From Capistrano source code: "some tasks, ...more...
B4.0
128
#31922: At the bottom of the page where it talks about starting, restarting and stopping the mongrel clusters, I believe there should be a space betwe...more...
B4.0
133
#31683: The cap recipes for restarting, stopping and starting via monit don't work as given (seem to hook into the wrong tasks). The following ones do...more...
B4.0
143

#32003: The use of mongrel introduces an issue with multiple processes writing to the log file. It would be helpful to describe configuration of syslog.--John Bito

B4.0
170

#31824: I'd also include the MIME types application/xml application/xhtml+xml text/javascript text/css for the DEFLATE section.--Seth Ladd

B4.0
176

#31701: Space missing: or/foo in 3rd paragraph.--John Bito

B4.0
190
#31703: "In the next chapter, I’ll dive into some basic performance topics." The next chapter is Deploying on Windows - Performance is the chapter af...more...
B4.0