The latest version of the book is P3.0, released over 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.
By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:
If you've found a new error, please submit it.
- Reported in: P1.0 (11-Oct-17)
PDF page: ¨82
In the Safari Books Online edition (no page numbers available), Chapter 3, Quiz: Bug Hunt, the sample output is:
Bob got a 3
Frank got a 10
(swap Bob's and Frank's lines). In the paragraph preceding the last listing in the same section, should be "Bill's team", not Frank's.--Ekaterina Nikonova
- Reported in: P3.0 (18-Nov-17)
PDF page: 49
The Pry example is not behaving as advertised. Pry instances do not have a quiet= method, nor do they have a refresh method. Is there a specific version of Pry you are using for these examples?--Peter Colvin
- Reported in: P3.0 (18-Jun-17)
PDF page: 193
The writer is describing the "save_with_validation!" and mistakenly reuse the name again when what he meant was "save_without_validation!".
This is how it appears in the document -> "The actual validation happens in the valid? method. Validation#save_with_validation returns false if the validation fails, or if the caller explicitly disables validation. Otherwise, it just calls the original save_without_validation. Validation#save_with_validation! raises an exception if the validation fails, and otherwise falls back to the original save_with_validation!."--Bolatan Adigun Ibrahim