Errata for Crafting Rails Applications
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 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.
| Paper | Description | Found in | Fixed in | |
|---|---|---|---|---|
| 13 |
#46407: The HEading of what is really Chapter 1 create our own Renderer is listed as Chapter 4 Create our own Renderer in the Kindle Version. Location 121-129--Charley Stran |
B3.0
16-Feb-11 |
||
| 13 |
#47604: update Enginex gem ..
$ rake test
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
`include Capybara` is depreca...more...
|
P1.0
20-Sep-11 |
||
| 22 |
#47953: Running with:
ruby 1.9.2p312 (2011-08-11 revision 32926) [x86_64-darwin10.8.0]
Rails 3.0.10
capybara (1.1.2)
rake test fails with:
...more...
|
P1.0
16-Nov-11 |
||
| 22 |
#47603: latest test run doesn't pass ...
rubyrails:pdf_renderer (ruby-1.9.2@rails310)$ rake test
rake/rdoctask is deprecated. Use rdoc/task ins...more...
|
P1.0
20-Sep-11 |
||
| 26 |
#46686: ... and it breaks down in two main steps: would read better as ... and it breaks down into two main steps:--Andreas Kemkes |
B3.0
27-Mar-11 |
||
| 33 |
#46729: ... our first test pass. should read ... our first test passes.--Andreas Kemkes |
B3.0
02-Apr-11 |
||
| 35 |
#46608: Last paragraph. First sentence.
"attributes methods" should be "attribute methods" (i.e. without the s)
or (suggestion)
"Attribute Me...more...
|
B3.0
18-Mar-11 |
||
| 35 |
#46730: ... uses attributes methods extensively. should read ... uses attribute methods extensively.--Andreas Kemkes |
B3.0
02-Apr-11 |
||
| 37 |
#46609: Third paragraph. Second line. "generate an unique url" => "an" should be 'a'--Kenneth Lindsey Calamay |
B3.0
18-Mar-11 |
||
| 37 |
#46731: ... and two other methods required by Active Model as well: ... should read ... as well as two other methods required by Active Model: ...--Andreas Kemkes |
B3.0
02-Apr-11 |
||
| 44 |
#46891: "After running `rake test`, all tests should be green again", but they're not! We've now made a template for our mail form to use, but never t...more...
|
P1.0
17-Apr-11 |
||
| 44 |
#46402: Where: Download mail_form/6_delivery/lib/views/mail_form/notifier/contact.text.erb
It is not clear from the text or the above path where th...more...
|
B3.0
14-Feb-11 |
||
| 52 |
#46733: ... keeping an eye in performance. should read ... keeping an eye on performance.--Andreas Kemkes |
B3.0
02-Apr-11 |
||
| 61 |
#46652: First sentence after the comma "some functionals tests" should be
|
B3.0
23-Mar-11 |
||
| 61 |
#46653: The sentence just before the last code snippet:
"Let's do it by add the following line to UsersController"
should be
"Let's do it by addi...more...
|
B3.0
23-Mar-11 |
||
| 63 |
#46892: """
== The Resolver's Cache
As your learned in the code on page 71 ActionView::Resolver’s find_all method…
"""
I'm on page 63, so ...more...
|
P1.0
17-Apr-11 |
||
| 64 |
#47224: To prove that Ruby in fact uses Object#hash to localize entries,.. localize -> locate
|
P1.0
26-Jun-11 |
||
| 72 |
#46929: "Dual templates **rocks**!" —there's a subject-verb disagreement there. Should be "rock."--Eric |
P1.0
24-Apr-11 |
||
| 74 |
#47023: First paragraph, last sentence reads "configure it to create .merb templates instead .erb" —probably should be "instead of .erb"--Eric Hayes |
P1.0
05-May-11 |
||
| 101 |
#46732: "mongo database" should be replaced by "MongoDB database"
"Mongo database" should be replaced by "MongoDB database"
Pages 101(2), 116(2), ...more...
|
B3.0
02-Apr-11 |
||
| 103 |
#46734: ... but there is not such file ... should read ... but there is no such file ...--Andreas Kemkes |
P1.0
02-Apr-11 |
||
| 108 |
#47175: I tried "Hello Rack" application with Rack 1.2.3, which was installed by Bundler for Ruby on Rails 3.0.7. (I understand that the book is based...more...
|
P1.0
09-Jun-11 |
||
| 109 |
#46512: The Rack application on this page does not run on Ruby 1.9.2. The error is "Response body must respond to each". Ruby 1.9 (unlike 1.8) apparen...more...
|
B3.0
04-Mar-11 |
||
| 131 |
#49335: I cannot get why this source code appears here.
>>
Download responders/2_responders/test/dummy/app/views/layouts/application.html.erb
<p ...more...
|
P1.0
16-May-12 |
||
| 142 |
#47359: Hi,
I may have missed something but when I run "bundle exec rails g responders:install" nothing happens and I have "Could not find generato...more...
|
P1.0
10-Aug-11 |
||
| 158 |
#46617: On:
autoload :App, "translator/app"
It should be:
require 'translator/app'
autoload :App, "translator/app"
The missing require wi...more...
|
B3.0
19-Mar-11 |
||
| 160 |
#46584: 3rd code snippet. 2nd line. .responds_to?(:call)
|
B3.0
15-Mar-11 |
||
| 2008 | taisw |
#46823: ZP0ShI It's spooky how clever some ppl are. Thanks!--zEEtIUzz |
P1.0
08-Apr-11 |
