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 8 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
1
#25610: For ActiveRecord, handling legacy databases has been an achilles heel (as others have pointed out). Recently one of the problems may have bee...more...
P1.0
01-Aug-06
28
#26034: From printed version 2006-6-16: The first paragraph states "Similarly, exec() becomes execute() on line 18", but the code listing has it on...more...
P1.0
28-Sep-06
30
#23890: In the "Object-Relational Mappers for Ruby" sideline on page 30, for people who don't know that there is a package or project named ActiveR...more...
B1.1
29-Dec-05
31
#24195: Massive SOL injection vulnerability! Why not use parameterized statements? Also, the code in this edition doesn't feel as "Rubyish" as it co...more...
B1.4
25-Feb-06
45
#23870: The transition from the AddLifeTime class to the actual migration code on the following page is somewhat abrupt. It is not clear to someone w...more...
B1.1
21-Dec-05
62

#25369: I fail to find the source code or cross reference per the reference to file 33?

P1.0
30-Jun-06
62-63

#30719: pg 63 mentions on line 8 of code listing on page 62 refers to code block with bind() using LDAP_AUTH_SIMPLE
That code doesn't exist in the listing

P1.0
09-Feb-08
89
#25421: (Sorry, please ignore #4161, p. 113 below; it was meant for pg. 89 and 'encode_markup' and I got confused with 'decode_markup' post.) I thi...more...
P1.0
08-Jul-06
102
#25420: to_event doesn't appear to be setting the consignee to anything other than nil. perhaps? consignee = if !element.elements['consignee'].n...more...
P1.0
08-Jul-06
113
#25411: Maik, I think you'll want to check the code again for the previously reported problem with encode_markup. The version inside extract_todo is...more...
P1.0
08-Jul-06
118

#26035: From printed version 2006-6-16:

"namespace" should be hyphenated "name-space", not "names-pace"--KOster

P1.0
28-Sep-06
119
#26037: From printed version 2006-6-16: In the paragraph starting with "XPath expressions...", both instances of "package-history" should be "parce...more...
P1.0
28-Sep-06
125
#26038: From printed version 2006-6-16: There is a missing ']' (right bracket) in the last line of code - '//event[@state="delivered"]|//event[@...more...
P1.0
28-Sep-06
132

#26036: From printed version 2006-6-16:

"whitespace" should be hyphenated "white-space", not "whites-pace"--KOster

P1.0
28-Sep-06
138

#24366: Fantastic book!
I've enjoied tle class to read fixed-length records: what about a class to write fixed-length records?--fabio vitale

B1.5
23-Mar-06
158

#24150: RPC chapter link goes to the page before the chapter starts--dána watanabe

B1.3
17-Feb-06
166

#26039: From printed version 2006-6-16:

In the second paragraph, "encode(string)" should be "escape(string)"--KOster

P1.0
28-Sep-06
179
#25447: A really minor quibble, but on line 8 that prints the URL for the webrick-SSL really should specify 'https://....' instead of 'http://....'. ...more...
P1.0
14-Jul-06
185

#25813: Table of XML-RPC types: Description of 'String' and 'Base64' types in second column (Values) are transposed.--Victory

P1.0
29-Aug-06
212
#24242: I could use a one-page blurb on generating ruby from XSD's. It's mentioned with the wsdl, but if I'm consuming (not producing) it would be ha...more...
B1.5
07-Mar-06

Stuff To Be Considered in the Next Edition

PDF Paper Description Found in Fixed in
X
#23840: I really enjoy the content of the book. Since this books deals with ENTERPRISE solutions. I would like to ask if you can spend some time to ...more...
B1.1
12-Dec-05
0
#23553: JMS is very sorely needed, as another errata mentions. The best way is probably to talk about STOMP and ActiveMQ. It's a brilliant concept oth...more...
B1.0
15-Nov-05
31
#23578: Current support for IBM DB2 while claimed for Ruby doesn't appear to work at all on Windows. There is an appeal to IBM to fix this, but this i...more...
B1.0
20-Nov-05