small medium large xlarge

The latest version of the book is B8.0, released 2 days 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: 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: 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: 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: 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: 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: 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: 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...