Errata

Head First Rails

Errata for Head First Rails

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 7
Top

> rails tickets
should be
> rails new tickets

Anonymous  Dec 15, 2010 
36
1st paragraph

Error in:

But the downside is that once the code has been generated "it the" developer's responsibility to keep the code up-to-date.

I think "is" has to come in between "it the".

Thanks.

Abder-Rahman  Sep 05, 2010 
58
Second point

By a symbol"." we mean a sequence

I think "." has to be ","

Thanks.

Abder-Rahman  Aug 16, 2010 
Printed Page 93-95
chapter 2 in polish

I have bought this book in polish and I am trying to change its for Rails 4 and Ruby 1.9.3 - I have "agile programming ruby on rails 2013 - english", too.
But routing and routes are very difficult for me and I do not know, what should be here:
map. connect '/ads/:id', : controller=> 'ads', :action=> 'show' etc.

In "Agile Programming" there is not something like this.

Is there any more actually version of this book anywhere?

Bąk  Mar 01, 2014 
111
1st paragraph

I just want to note a typo in: <% form for %>

As there should be an "_" between "form" and "for":

<% form_for %>

Thanks.

Abder-Rahman  Aug 14, 2010 
125
1

When updating Controller and the Views for the Create a new item, I get the following error

Couldn't find Ad with ID=create

I had to update the route with the following code

map.connect '/ads/create', :controller=>'ads', :action=>'create'

for ruby to recognize what to do with the create request.

Please let me know if I am doing something wrong. Following this book to a T but this piece really stumped me for a while.

Manuel Medina  Dec 16, 2010 
134
Point (2)

In point (2), there should be a ".".

Thanks.

Abder-Rahman  Aug 21, 2010 
Printed Page 139
Form script

Edit form url need to post the id too.
This worked for me:
form_for(@ad,:url=>{:action=>'update', :id=>@ad.id}) do |f|

Elias Papadamos  Sep 21, 2010 
212
4th paragraph

Every time one of the validators "fails"....

I think it should be "fail".

Thanks.

Abder-Rahman  Aug 15, 2010 
220
The title

Typo:

Coconut Airways "need" a booking system

I think it should be "needs" ---> with an "s"

Thanks.

Abder-Rahman  Sep 21, 2010 
222
The title

Typo:

We need to see flights and "seat" bookings together

I think it should be "seats" ---> with an "s"

Thanks.

Abder-Rahman  Sep 21, 2010 
222
The title

Typo:

We need to see "flights" and seat bookings together

I think it should be "flight" ---> without an "s"

Thanks.

Abder-Rahman  Sep 21, 2010 
231
Last paragraoh

Typo:

The render call "tell".....

I think it should be "tells" ---> With an "s" at the end

Thanks.

Abder-Rahman  Sep 21, 2010 
242
Third paragraoh

Typo:

provide the "new" _seat_list. html. erb

I think that "new" has to have a different font type similar to the ordinary text and NOT the file name.

Thanks.

Abder-Rahman  Sep 22, 2010 
Printed Page 313
13th line.

"and a symbol mark the exact point" should be "and a symbol will mark the exact point"

Drew Johnston  Jun 17, 2011