Learning Rails 5

Errata for Learning Rails 5

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.


Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update



Version Location Description Submitted By Date Submitted
Printed Page 2
1st

For windows after installation you are directed to 'Starting Up Rails' on page 9. But you need to create the Hello01 application on page 5 to then follow the book from page 9.

john white  Aug 19, 2017 
Printed Page 15
3rd paragraqph

Upon pointing browser to localhost:3000/hello Showing hello01/app/views/layouts/application.html.erb where line #7 raised: TypeError: Object doesn't support this property or method I removed the following lines from hello01/app/views/layouts/application.html.erb it it then worked as expected. <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> Windows 10 ruby 2.2.4p230 (2015-12-16 revision 53155) [x64-mingw32] Rails 5.0.1

Anonymous  Feb 21, 2017 
Printed Page 15
3rd paragraph

Showing hello01/app/views/layouts/application.html.erb where line #7 raised: TypeError: Object doesn't support this property or method Further investigation revealed that a JavaScript runtime is required. I installed Node.js and no longer receive the error. Suggest using: ruby bin/rails about

Anonymous  Feb 23, 2017 
Printed Page 72
eleven lines from bottom

Says "'Person was successfully updated.'" for "create" action (and says "'Person was successfully created'" on page 73 for "update" action. It appears that these are reversed/should be switched.

Doug Q.  Apr 07, 2018 
Printed Page 76
fifth line

Characterizes "index" method as "the most likely starting point for a visitor exploring the data." Following page (77) uses the exact same phrase to characterize the "show" method. It appears that only one of these two methods can be THE "most likely" (not both)

Doug Q.  Apr 07, 2018 
Printed Page 100
3rd code block

value="no" should be in bold, but it is not. It just have * before and after.

Manuel  Aug 30, 2017 
Printed Page 102
1st line

Double "had"

Manuel  Aug 30, 2017 
Printed Page 108-109
Many paragraphs related with the example 6-8

There are several errors related with Example 6-8. For example, 2nd paragraph of page 109, says "Line 12 just closes the loop over the hash..." anyhow Line 12 is "html << '</fieldset>' " and I guess it should say Line 11 (end)

Manuel  Aug 30, 2017