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 almost 6 years 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
Charl Charl

#46967: ��������
, --agikRWrCvVucIfdC

P1.0
25-Apr-11
eMLvR FHJvf

#48547: Real brain power on display. Thanks for that awnser!--23.5

P1.0
20-Jan-12
19

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

Spurious leftover from svn merge?--Brian Candler

B4.0
11-Apr-08
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
07-Jun-08
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
07-Jun-08
23
#33801: The code block given for creating the initial SVN directories is misleading. It reads: $ svn mkdir --message="Initial project layout" ←֓ ...more...
P1.0
08-Aug-08
23

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

B4.0
04-Jun-08
24
#35199: The command: svn mkdir db/migrate tmp doesn't work on my server because there is no 'db' directory yet. svn: Can't create directory 'db/mi...more...
P1.0
13-Oct-08
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
10-Apr-08
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
04-Jun-08
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
26-Apr-08
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
11-Apr-08
28
#33859: The command given to create a stable branch doesn't work. The given command is: $ svn copy --message "Create the stable branch" ←֓ file:/...more...
P1.0
10-Aug-08
30

#31674: $ cap deploy_with_migrations

should read:

$ cap deploy:migrations--sideshow

B4.0
16-Apr-08
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
07-Jun-08
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
04-Jun-08
39

#34595: "Rails is a dynamic, interpreted language." Rails is the framework not the language.--Patrick Ledbetter

P1.0
21-Sep-08
71

#40606: Sorry, Please ignore my previous error post
i mistype Guess with guess

thanks
Ami--Ami Mahloof

P1.0
29-Aug-09
82
#43272: On my freshly installed Ubuntu server, the command (ran as root) /etc/init.d/sshd reload produced : -su: /etc/init.d/sshd: No such...more...
P1.0
16-May-10
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
15-May-08
83
#33429: The authme function will only work if the .ssh directory already exists on the remote server. Also, ssh is very picky about permissions on th...more...
P1.0
31-Jul-08
83
#33430: On Ubuntu, and probably other distros, an ssh-agent is started for you when you log into XWindows. You can just call ssh-add. If you call ss...more...
P1.0
31-Jul-08
84

#33431: You mention that you should have ruby 1.8.6 or higher, but the command output shows 1.8.4.--Sam Umbach

P1.0
31-Jul-08
85

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

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

B4.0
23-Apr-08
86

#33432: You mention the include-dependencies option but don't use it in the example.--Sam Umbach

P1.0
31-Jul-08
86

#33433: The formatting for line continuation is messed up here and elsewhere in the book.--Sam Umbach

P1.0
31-Jul-08
87

#33434: zliblg was already installed in an earlier step.--Sam Umbach

P1.0
31-Jul-08
88
#34348: On page 88 there is a guide of how to install nginx. After installing nginx you need to reboot the system (or something similar). Until then t...more...
P1.0
05-Sep-08
92
#33956: The word 'server' is spelled wrong in the sentence: You simply found the files you needed to copy, and you used Subversion or FTP to push ...more...
P1.0
13-Aug-08
104
#34098: On an earlier page you recommend setting scm_username and scm_password, but then you tell the user to cache the subversion credentials. This ...more...
P1.0
17-Aug-08
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
21-Apr-08
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
13-May-08
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
07-May-08
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
18-Apr-08
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
14-May-08
148
#36039: DBAs in my company (who fortunately do not run my stuff), claim that async multi-master is not a supported configuration for MySQL. I did set...more...
P1.0
21-Nov-08
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
29-Apr-08
176

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

B4.0
22-Apr-08
177
#33932: The bottom of page 177 reads, "When Capistrano deploys Rails apps, Capistrano appends a time stamp to the URL so that clients will think they ...more...
P1.0
11-Aug-08
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
23-Apr-08
195
#34632: pen -f 80 localhost:80 produces an error: Number of simultaneous connections to (sic) large. Maximum is 27, or re-build pen with larger FD_S...more...
P1.0
25-Sep-08
249
#34101: The same code is listed for both the view and controller (and it's ERB, so I assume it's the view). What is the appropriate controller code f...more...
P1.0
17-Aug-08
250
#34102: "If you need to work with cached content in production temporarily, you can just set the appropriate cache option." should be "If you need to ...more...
P1.0
17-Aug-08