small medium large xlarge

The latest version of the book is B6.0, released 15 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: B6.0 (09-Apr-17)
#81382
PDF page: 2
This has been touched on by another post, but here's an additional detail. The list of software version numbers has Rails at 5.1. But after the "gem i...more...
  • Reported in: B6.0 (20-Apr-17)
#81452
PDF page: 3
The Rails `--webpack` option installs webpacker and "TypeScript support and the Angular core libraries will be added via yarn and changes to the confi...more...
  • Reported in: B6.0 (21-Apr-17)
#81456
PDF page: 8
While we could install Webpack directly and set it up by hand, Rails 5.1 includes a gem called Webpacker that is the _support_ way to use Webpack in a...more...
  • Reported in: B5.0 (05-Apr-17)
#81356
Paper page: 8

Visit Yarn’s intall page12 to find instructions for your operating system.
- Install misspelled. Missing 's'--Themba Z

  • Reported in: B6.0 (08-Apr-17)
#81368
PDF page: 32
Under "Install and Configure Webpack", the command 'bundle exec rails webpacker:install' is given. However, if instructions have been followed to this...more...
  • Reported in: B6.0 (08-Apr-17)
#81371
PDF page: 36
The 1.1 version of webpacker that is bundled with rails 5.1.0.rc1 uses a config/webpack/loaders folder to store loaders, rather than patching things o...more...
  • Reported in: B5.0 (25-Mar-17)
#81285
Paper page: 56
The second paragraph states, "Rails doesn’t provide a way to do this with Active Record’s migrations API, but it does provide a method, execute, which...more...
  • Reported in: B6.0 (16-Apr-17)
#81414
PDF page: 73
looks like the following lines are missing from typeahead/install-angular/shine/package.json on page 73-74: "extract-text-webpack-plugin": "^2.1.0...more...
  • Reported in: B6.0 (09-Apr-17)
#81378
PDF page: 73
The supplied package.json is no longer valid for Rails 5.1 — particularly, server startup fails without extract-text-webpack-plugin installed. I ne...more...
  • Reported in: B5.0 (10-Mar-17)
#81189
PDF page: 74
directives are deprecated in Angular 2, and they send away error ts2345. There are some changes needed (i.e. you need to declare it in @NgModule) t...more...
  • Reported in: B5.0 (07-Apr-17)
#81362
PDF page: 80

"A components can be thought of as a model, view, and controller all wrapped up into one."

Should be "A *component..." in the singular form--Daniel

  • Reported in: B5.0 (29-Mar-17)
#81312
Paper page: 83

"even" should be "event" in "You’ll write code to respond to a click even in our search..."--Tomek

  • Reported in: B5.0 (27-Feb-17)
#81167
PDF page: 86
Page 86 states “Because JavaScript has no official way to define a class, you’re using the mechanism Angular provides…” The sentence should read “Be...more...
  • Reported in: B5.0 (27-Feb-17)
#81168
PDF page: 103
Page 103: “[In RSpec] we’re explicitly requiring the expect() syntax—you don’t want to use the .should assertions because this would be counter to our...more...
  • Reported in: B6.0 (09-Apr-17)
#81379
PDF page: 110
Rails 5.1 now has built-in database cleaning for JS tests (edgeguides.rubyonrails.org/5_1_release_notes.html#system-tests) — could this section be upd...more...
  • Reported in: B5.0 (01-Apr-17)
#81348
Paper page: 118
I don't believe the book ever instructs the user to setup and configure EasyScreenshots. The setup-poltergeist code branch contains the file testing...more...
  • Reported in: B5.0 (02-Mar-17)
#81174
Paper page: 131
When adding the observable code I found it hard to know where to enter it. I had to refer to the source code in the end. Here is what I had before...more...
  • Reported in: B5.0 (27-Feb-17)
#81169
PDF page: 147
Page 147: “Angular2 does not use “#” in routing URLs”. Actually, that is not correct. It is true that by default Angular2 does not use hash (#) for ...more...
  • Reported in: B5.0 (14-Mar-17)
#81197
PDF page: 202
"With that in place, our tests should be passing again." ...At this point, only with some more work. In Chapter 9 the CustomerDetailsComponent was...more...
  • Reported in: B5.0 (15-Mar-17)
#81200
PDF page: 219
The <article> has grown a customer-info class and is now being protected with *ngIf="customer". If these are necessary (not sure they are), line need...more...
  • Reported in: B5.0 (15-Mar-17)
#81201
PDF page: 221

The "observable" var is being declared for the first time. Line needs highlighting with arrow.--Brion Dolenko

  • Reported in: B6.0 (11-Apr-17)
#81386
Paper page: 293
For "Appendix 2: Creating Customer Address Seed Data", the db:seed took a really long time. Would it be better to wrap the "Customer.find_each do |cus...more...
  • Reported in: B5.0 (05-Apr-17)
#81355
PDF page: 5373
1) CustomerSearchComponent search A search for 'pat', three or more characters A search that fails on the back-end sets the keywords to be 'pat' ...more...