Errata
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
| Version |
Location |
Description |
Submitted By |
| 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.
the book says 'Edit the new controller at the path app/controller/greeting_controller.rb'
In fact, the path is 'app/controllers' (i.e. plural) and in order to edit the new controller, I've figured out you have to type 'edit greeting_controller.rb'.
Also, when I do edit the Controller, exactly as Example 1-1 on page 12, I don't get the 'Welcome to your first Rails application' message, but instead I get the message 'SyntaxError in GreetingController#index
C:/InstantRails/rails_apps/chapter-1/app/controllers/greeting_controller.rb:3: unterminated string meets end of file
C:/InstantRails/rails_apps/chapter-1/app/controllers/greeting_controller.rb:3: syntax error, unexpected $end, expecting kEND'
Also, according to the middle of page 14, the index file that gets created should be 'app/views/greeting/index.rhtml'. However, in my case the file is 'app/views/greeting/index.html.erb'. Is this is an error in the book, or has the software moved on?
Personally, I think it's poor to find these eroors and inconsistenies on the very first chapter of a book designed to get the reader 'Up and Running' on Rails. I am not up and running on Rails and don't think ever will be if I follow your book.
|
Graham Stow |
| 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 |
| Printed |
Page 105
second code block |
<%= drop_receiving_element('slideshow-photo-picker',...
must be
<%= drop_receiving_element('slideshow-photos',...
(tested with Rails 2.3.4)
All draggables will else freeze and leave the developer to wonder what is wrong for a long time.
|
Anonymous |
"If you've learned Ruby and you're ready to take the next step to Rails, this is definitely a decent choice for a quick immersion without wading through 900 pages of technical reference."
--Thomas "Duffbert" Duff, Duffbert's Random Musings