Errata
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 10 last paragraph |
I've downloaded and installed InstantRails (v2.0) on Windows all as Appendix A (pages 129 and 130). I then proceeded to work through Chapter 1 and create the simple 'Greeting' application. |
Graham Stow | Feb 16, 2009 |
Printed | Page 23 bottom |
The database scaffolding code on p23 does not specify an id field, but the photos.yml presented assumes an id field. So, on pg 24, rke db:fixtures:load fails. |
Anonymous | Oct 31, 2008 |
Printed | Page 43 Table 3-2 |
The right column entries for <associations>.build and .create are incorrect. The code for <associations>.build should be: |
Oz DiGennaro | Apr 02, 2012 |
Printed | Page 49 example code |
I defined the Slide class as shown after correcting "slideshow_id" to :slideshow_id. But when I executed the second line in the example code I received: |
Irwin Friedman | Mar 03, 2011 |
Printed | Page 49 |
I would like to retract the previous comments I made on March 3, 2011 and replace them with this. After a bit more digging, I discovered that I had to install the gems acts_as_list and acts_as_tree, update the environment.rb file by adding: config.gem "acts_as_list" |
Irwin Friedman | Mar 05, 2011 |
Printed | Page 50 categories.yml file content |
I found that categories.yml contains "parent_id: nil" that creates 0 (not null) in MySQL column. |
Anonymous | Mar 06, 2012 |
Printed | Page 51 example code |
As I expected (see my comment for page 49) acts_as_tree is not recognized as a valid method. |
Irwin Friedman | Mar 03, 2011 |
Printed | Page 55 fourth paragraph |
I continue to encounter errors indicating that the prescribed method doesn't exist. in this case it's scaffold. I was able to create the Photos -- by convention, shouldn't that be a singular? -- but encountered the following when trying to view the page in my browser. BTW: I had to add: map.connect '/photos' , :controller => 'Photos', :action => 'get' to the routes.rb file in order for the browser to find the page in the first place. |
irwin Friedman | Mar 03, 2011 |
Printed | Page 105 second code block |
<%= drop_receiving_element('slideshow-photo-picker',... |
Anonymous | Oct 18, 2009 |