Errata

Rails Pocket Reference

Errata for Rails Pocket Reference

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. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 4
5th paragraph from bottom

Change:

#Unpack only the hpricot gem to vendor/gems
rake gems:unpack GEM=aws-s3

to:

#Unpack only the aws-s3 gem to vendor/gems
rake gems:unpack GEM=aws-s3



Note from the Author or Editor:
This is a typo. It should be as suggested.

Anonymous  Nov 13, 2008  Oct 28, 2016
Printed
Page 55
Diagram at the top

Figure 1-3 at the top of page 55 in the printed book shows the user_roles table with users_id and users_name as the columns. They should be user_id and role_id.

Note from the Author or Editor:
This is correct. The diagram is incorrect and should show the columns 'user_id' and 'role_id' in the users_roles table.

Eric Berry
Eric Berry
 
Oct 30, 2008 
1.9.5.2

The text states that "There are several shortcuts that can be used when finding records" but all of those are labelled as "find([id])"

The syntax should vary from shortcut to shortcut.

Note from the Author or Editor:
The second shortcut name should be changed from find([id]) to find(:first, *options)

The third shortcut name should be changed from find([id]) to find(:all, *options)

Anonymous  Oct 26, 2008  Oct 28, 2016