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 |
---|---|---|---|---|---|
Other Digital Version | 39% Figure |
Wrong text in Figure 2.2. (Duplicate of the text in Figure 2.1) Note from the Author or Editor: |
Peter Hellberg | Dec 20, 2011 | |
Other Digital Version | 39 1st paragraph |
Paragraph states.. Note from the Author or Editor: |
Scott Russell | Jan 28, 2012 | |
Other Digital Version | 43 3rd paragraph on Cookies |
In the Kindle version of the book in the Cookies section on 3rd paragraph there's a typo. The text reads: Note from the Author or Editor: |
Fabio Utzig | Dec 22, 2011 | |
Other Digital Version | 56 exmaple 3.8 |
The case statement is missing its `end` keyword which causes a syntax error. Note from the Author or Editor: |
Scott Russell | Jan 29, 2012 | |
Other Digital Version | 61 1st paragraph in Middleware section |
The text says "you may recall we used a rackup file in Chapter 1 to deploy code to Heroku", but deploying code to Heroku had not been mentioned at all up to this point. Note from the Author or Editor: |
Gar Morley | Jan 22, 2012 | |
Other Digital Version | 61 FIgure 3-3 |
Figure 3-3 shows a picture that appears to show the output of example 3-10, but in fact it shows the output of example 3-9. This would be more informative if it actually appeared before example 3-10 and after 3-9. |
Scott Russell | Feb 03, 2012 | |
ePub | Page 61 Example 4-22 |
Using Ruby 1.9.3p258 and Sinatra 1.4.0 the example for capturing subclasses as middleware will overflow the stack on first request. |
John Ferguson | Mar 20, 2013 | |
Other Digital Version | 74 paragraph before figure 4-1 |
"Taking a look at lib/sinatra.rb, shown in Figure 4-1,", Figure 4-1 acutally shows lib/main.rb. Note from the Author or Editor: |
Scott Russell | Feb 04, 2012 | |
Page 76 3rd paragraph |
In the PDF: Note from the Author or Editor: |
Ismael Marin | Dec 10, 2011 | ||
Other Digital Version | 80 Example 4-16 |
Example 4-16. controllers/example_controller.rb - this should be "views/example.erb", as example 4-15 has the used this name already. Note from the Author or Editor: |
Scott Russell | Feb 05, 2012 | |
Other Digital Version | 80 1st paragraph |
"Now the real question is how to run it." - oK, maybe this is just me, but for a newbie it is probably not obviouls that you need to run it using "rackup -p 4567 -s thin". Would be nice if this was explicitly stated. Note from the Author or Editor: |
Scott Russell | Feb 05, 2012 | |
Mobi | Page 1674 Example 4-23 |
"run Rack::Cascade, [Foo, Bar]" |
Kyo Endo | Mar 12, 2013 |