small medium large xlarge

The latest version of the book is P1.0, released about 1 month 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.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P1.0 (22-Nov-17)
#82292
PDF page: `72
Page 72, states that you'll need to substitute the caret for the backslash at the end of the line and a backslash for the forward slash, but forgets t...more...
  • Reported in: B7.0 (15-Oct-17)
#82152
PDF page: 7
` sudo apt install yarn chromedriver` fails with rails-dev-box.git / vagrant with: - "ubuntu@rails-dev-box:~$ sudo apt install yarn chromedriver ...more...
  • Reported in: B7.0 (17-Oct-17)
#82154
PDF page: 13
Paper page: xi
In the last paragraph, second to last sentence, the first occurrence of "which" should be "with". It should say, "Rails 5.1 brings Webpacker, with a ...more...
  • Reported in: B8.0 (29-Oct-17)
#82191
PDF page: 16
Not sure if this is your issue or mine. I've followed the installation instructions to install rails. I decided to try and follow your guide exactly...more...
  • Reported in: P1.0 (17-Nov-17)
#82264
PDF page: 33

Download location for nodejs is here: web page nodejs.org/en/download/
I couldn't find the LTS version in the link in the book.--Andrew Powell

  • Reported in: P1.0 (17-Nov-17)
#82265
PDF page: 35
The commands you enter to see the version numbers doesn't include checking for the version of yarn and chromedriver. should also have: > yarn --ver...more...
  • Reported in: B7.0 (17-Oct-17)
#82155
PDF page: 50
Paper page: 29
In the paragraph after the "Dynamic Content" heading, third sentence, there is an extra word "is" before the word "named". It should say, "That’s the...more...
  • Reported in: P1.0 (22-Nov-17)
#82293
PDF page: 78
Page 78, when you try run ruby bin\rails test it says you need to perform a migration: ruby bin\rails db:migrate RAILS_ENV=test (after this it runs fi...more...
  • Reported in: B7.0 (10-Oct-17)
#82132
PDF page: 94
Two things: if you just run the tests, there are lots of errors from the controller test. You might hint for that to prevent confusion, if the reader ...more...
  • Reported in: B7.0 (17-Oct-17)
#82156
PDF page: 103
The Rails helper method called does this by setting the CSS class of each row to either list_line_even or list_line_odd, automatically toggling betwee...more...
  • Reported in: B7.0 (10-Oct-17)
#82133
PDF page: 113
English is not my first language, so I am not really sure... In the third paragraph, you wrote "The page design is fairly minimal, though we’ve added...more...
  • Reported in: B7.0 (10-Oct-17)
#82136
PDF page: 136
`current_item.quantity += 1` no method error `NoMethodError: undefined method `+' for nil:NilClass from app/models/basket_item.rb:8:in `add_product...more...
  • Reported in: B7.0 (12-Oct-17)
#82142
PDF page: 140
If you just change the assert_select to the new line item titel it will fail, since it finds the li from the '.side_nav' navigation. I suppose you ha...more...
  • Reported in: B7.0 (13-Oct-17)
#82148
PDF page: 149

On the second line of the page I think the reference to ".../carts.css" is missing an S as in ".../carts.scss"--Magnus Rembold

  • Reported in: B7.0 (12-Oct-17)
#82143
PDF page: 151
In the last sentence i found "...any cart other than than one currently...". I think it should be "...any cart other than THE one currently..."--Magn...more...
  • Reported in: B7.0 (12-Oct-17)
#82144
PDF page: 151

On the first block of text it goes „Next. we ...“
I think there should be a comma after Next instead of a point.--Magnus Rembold

  • Reported in: B8.0 (20-Oct-17)
#82170
PDF page: 151
Paper page: 133
In the first paragraph, third sentence, there is a missing word "in" after the word "residing". It should say, "... where the cart ID is internal sta...more...
  • Reported in: B7.0 (08-Oct-17)
#82126
PDF page: 181
Indentation missing after <div class="actions"> for 'Empty cart' and 'Checkout' buttons (previously reported for page 177, but numbering has chan...more...
  • Reported in: B7.0 (10-Oct-17)
#82131
PDF page: 202
Paper page: 203
You should mention that the server needs restarting after installing webpack and co... Failure to restart the server before testing the <%= javascrip...more...
  • Reported in: P1.0 (27-Nov-17)
#82317
PDF page: 214
For Cloud9 IDE: Install chromedriver as follows: sudo apt-get install chromium-chromedriver Update /depot/test/application_system_test_cas...more...
  • Reported in: B7.0 (10-Oct-17)
#82135
PDF page: 217

the link for the code for orders_controller.rb has two private keywords (lines 81 and 93).
--Kosmas Chatzimichalis

  • Reported in: B7.0 (12-Oct-17)
#82139
PDF page: 225
The smtp setup should be inside the existing `Rails.application.configure` The implication with the code in the pdf is that a new section `Depot::Ap...more...
  • Reported in: B7.0 (13-Oct-17)
#82147
PDF page: 226
If you're thinking to yourself that this looks like a controller, that's because it does. wouldn't it be better as the following? If you're thin...more...
  • Reported in: P1.0 (12-Dec-17)
#82374
PDF page: 229
Paper page: 212
In orders_controller.rb, the case statements for the pay_type should be changed from "Credit Card" to "Credit card", lowercase 'c' on 'card'. Same wit...more...
  • Reported in: B8.0 (20-Oct-17)
#82169
PDF page: 233
Adding the line require 'active_model/serializers/xml in app/models/order.rb also needs the gem to be installed. The gem is included in the G...more...
  • Reported in: B7.0 (12-Oct-17)
#82140
PDF page: 245
On page 245 of the pdf you state "To improve the appearance of the page, we add <legend> and <fieldset> tags." These are not shown anywhere and...more...
  • Reported in: B7.0 (12-Oct-17)
#82141
PDF page: 249
On page 249 of the pdf you state the following This form is different from ones you saw earlier. Rather than using form_with , it uses form_tag ...more...
  • Reported in: P1.0 (29-Nov-17)
#82328
PDF page: 254
Paper page: 237

In the last paragraph you suggest using "legend" and "fieldset" tags, but they are not showing up in the code example that follows.--Magnus Rembold

  • Reported in: B7.0 (13-Oct-17)
#82145
PDF page: 255
On page 255 of the pdf when discussing tyhe integration test setup you state "Note that the setup() method will call login_as() only if session is de...more...
  • Reported in: P1.0 (29-Nov-17)
#82327
PDF page: 259
Paper page: 242

In the sketch on the top there is a box "Controller" with a function "login" that is never implemented.--Magnus Rembold

  • Reported in: B8.0 (10-Nov-17)
#82224
PDF page: 279

metodo de pago
in line 51 does not use an escaped character for the accent in metodo
--Kosmas Chatzimichalis

  • Reported in: B8.0 (10-Nov-17)
#82225
PDF page: 281

The screenshot contains the spanish text and not the english one.
--Kosmas Chatzimichalis