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 3 years 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.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
11
#52022: The suggestion in the online Errata to remove render_to_string does cause the test to pass, but it does not render a .pdf file as it should. ...more...
P1.0
17-Jun-13
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
46
#50196: at least with rails 3.2.9 assert_equal ActionView::Template::Handlers::ERB, template.handler has to be changed to assert_kind_of ActionView...more...
P1.0
23-Nov-12
47
#50197: at least with rails 3.2.9 the sql_template.rb needs the line attr_accessible :body, :format, :handler, :locale, :partial, :path for the te...more...
P1.0
23-Nov-12
51

#50198: "As you learned in the code on page 59,..." should be "As you learned in the code on page 44,...".--Finn MacCool

P1.0
23-Nov-12
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
"some functional test" i.e. without the s--Kenneth Lindsey Calamay

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
--John Warwick

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
91
#50200: the test suite isn't green as promised. i get the following error: E:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/li...more...
P1.0
23-Nov-12
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)
should be
.respond_to?(:call) -> without the s in respond(s)--Kenneth Lindsey Calamay

B3.0
15-Mar-11
213
#50362: (Location 213 of 4082 in Kindle): First "rake test" bombs with this error: rake aborted! GONE /Users/cclogicimac/rails_projects/crafting_r...more...
P1.0
12-Dec-12
213
#50363: (213 of 4082 on Kindle) NOTE! You can get around this error by opening the Rakefile and changing line 10 to be require 'rdoc/task' (instead...more...
P1.0
12-Dec-12