The latest version of the book is P1.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 (26-Jul-14)
Paper page: 8
Hash#slice method includes nil values - trying to implement the ordering by creation_date I've noticed that the update would actually delete properties contained in the whitelist but no values in the params hash, as slice adds them with a nil value to the input hash.
I've provided a fix on github repository drblinken/7web, branch erratum-page-8--Béla Blinken (@drblinken)
- Reported in: P1.0 (08-Jul-14)
PDF page: 16
Paper page: 2
We’ll starting building our example application ...
We’ll start building our example application ...--Nathan Egge
- Reported in: P1.0 (15-Feb-14)
Paper page: 20
In the bookmark_list.slim template, bookmark links read:
Because of the double quotes, the variable is not interpolated and the resulting HTML is <a href="bookmark.url">
Instead it should be:
This problem is also present in the code archive.--Alex Marandon
- Reported in: P1.0 (06-Aug-14)
Paper page: 46
The URI to open the example is /example/base - as the sinatra app adds the /example part to it.--Béla
- Reported in: P1.0 (24-Feb-14)
Paper page: 57
In the "Do" list of the "Day 2 Self-Study" section, the third bullet is in the middle of a sentence and shouldn't be there.--Alex Marandon
- Reported in: P1.0 (27-Jan-14)
PDF page: 131
It's spelled "hierarchy", not "heirarchy".--Michiel de Mare
- Reported in: P1.0 (27-Jul-14)
PDF page: 140
Program listing: should (def app (-> app-routes ...)) not be (def app (-> all-routes ...)) to combine API- and app- routes?--R. Gabriel Esteves
- Reported in: P1.0 (22-May-14)
PDF page: 272
Currently, using inline `REFERENCES` for foreign key definitions is a `bug` (they have it classified as a feature request) in MySQL.
I'm running mysql 5.6.17_1 on OSX 10.9.3 install via brew.
MySQL bug link: bugs.mysql.com/bug.php?id=4919--Bernd Rennebeck