Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page 104 First code block |
"#{@name} the dog, age #{age}" Note from the Author or Editor: |
Martin Reijinga | Jan 29, 2016 | |
Printed | Page 143 second to last paragraph |
The "print_pay_stub" methods never used "super". They just used the inherited "print_name" method. Note from the Author or Editor: |
Stefan Pochmann | Nov 18, 2017 | |
Page 147 Figure at the bottom, right of the page |
There is a figure that appears to be a reference figure left in by mistake. No text refers to it, and it has nothing to do with the context of the text on the page. It contains the following text: Note from the Author or Editor: |
Brad Collins | Feb 06, 2016 | ||
Page 157 Code after 3rd paragraph |
Previously, we declared this array: Note from the Author or Editor: |
Eder Andrés Ávila Niño | Jan 24, 2016 | ||
Printed | Page 165 Second paragraph |
The first line of the paragraph reads: Note from the Author or Editor: |
Stephen Grell | Mar 20, 2016 | |
Page 194 Content of |
Throughout the chapter, the text "Truncated is funny: it can't..." within the "reviews.txt" sample file should be listed as "Truncated is funny - it can't..." (with a space-dash-space instead of a colon). As it appears now, the final result ends up appearing as: "The critics agree, Truncated is:\n'Amazing'\n'Funny:'\n'Astounding'", with a colon following one of the adjectives. |
Jay McGavren |
Jun 02, 2016 | ||
Printed | Page 198 right column Q and A |
"Our own version" of "File.open" should really close the file after the "yield". After all, the automatic closing was the whole reason we switched to using a block, and you made quite a big point out of that in the previous two pages (and again mentioned it in the chapter's ending "bullet points"). It's also only one extra line, so it's not like that would make the example too complicated. On the contrary, I find the *lack* of closing irritating. Note from the Author or Editor: |
Stefan Pochmann | Nov 18, 2017 | |
ePub | Page 365 Graphic just before "The real problem here is ..." |
There is a graphic labeled, "Can we even eat these?" with a curly brace. The graphic and its text of the graphic appears in the PDF version: Note from the Author or Editor: |
Brad Collins | Feb 22, 2016 | |
Printed | Page 394 |
On this and all subsequent code listings for Chapter 13, the Minitest::Test class is used. This works fine in Minitest 5.0 and later, but in Minitest 4.3.2 (which is included with Ruby 2.0), the class's name is Minitest::Unit::TestCase. References to Minitest::Test result in a NameError, as that class does not exist in Minitest 4.3.2. |
Jay McGavren |
Dec 09, 2015 | Dec 11, 2015 |
Page 429 "There are no dumb questions" section |
sinatra myserver.rb -p 8080 would cause Sinatra to listen on port 8080 Note from the Author or Editor: |
Anonymous | May 27, 2016 | ||
Mobi | Page 6037 2nd paragraph |
Kindle edition, location 6037 of 9874. At the end of the paragraph just above the section labelled "Ensuring the oven gets turned off", there is a trailing "An" that should be removed. Note from the Author or Editor: |
Anonymous | Jan 11, 2016 | |
Mobi | Page 6079 "Relex" sidebar heading |
"Relex" sidebar heading in "The Ruby standard library" section should say "Relax". .mobi location 6079 of 10423. This typo occurs only in the .mobi version, not the PDF or print versions. |
Jay McGavren |
Jan 11, 2016 |