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 year 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

#37405: LockNote, approximately half-way down the page in the section named "A Close Call," is hyphenated between the c and the k (Loc-kNote).--Lawrence Jones

P1.0
31-Jan-09
19
#40298: Discovered by Fletcher Bonds. On some systems, launching LockNote may not be sufficient to bring it to the foreground. Adding two lines of c...more...
P1.0
31-Jul-09
21
#35418: C:\InstantRails2\rails_apps\Scripted GUI Testing>ruby windows_basics.rb The main window's handle is 330196. windows_basics.rb:42: undefined ...more...
P1.0
23-Oct-08
22
#33961: The link at the bottom of p29 points to www.pragprog.com/titles/idgtr/source_code/junquenote/junquenote_app.rb. It should just read www.pragp...more...
P1.0
13-Aug-08
29

#33618: It appears that
require 'timeout'
should appear prior to the timeout(3) call.--Jim Kerr

P1.0
07-Aug-08
29
#34777: This page contains a paragraph that describes using the Ruby pack() method. Part of the description states, "The notation is similar to the o...more...
P1.0
03-Oct-08
39
#40826: When I run the final program with_rspec/locknote and note_spec.rb it fails on should display Welcome. C:\Ruby>spec -fs -rlocknote note_spec.rb...more...
P1.0
21-Sep-09
52
#41839: Not really an error, but if you are using the Ruby 1.9.1 you will find that you get a Segmentation Fault on the 'enforces the argument count' ...more...
P1.0
15-Dec-09
59

#38320: In the code example you wrote:
def exit!
--Enrico Listemann

P1.0
12-Mar-09
59
#38321: #38320: In the code example you wrote: def exit! @main_window.close -> has to be close without @main_window ... end Sorry for #383...more...
P1.0
12-Mar-09
61 -
#37764: The text states: "You have a new document with no password, you click Save As, and you assign a password." The remainder of the chapter as...more...
P1.0
16-Feb-09
72
#34979: Just before the header for 5.2, pg 72 states, "One last thing: you’ll see that I’ve added an alias for the one menu command that doesn’t fit t...more...
P1.0
07-Oct-08
74
#34981: In the 'Yuck!' example of how @locknote.change_password might be called, the code shows setting :confirmation => 'new', instead of :confirmati...more...
P1.0
07-Oct-08
287
#38540: Found on kindle - thus the page number I put in is WRONG error: get_dlg_item = user32('GetDlgItem',['L','L'],'L') fix: get_dlg_item = user32...more...
P1.0
26-Mar-09