We try to keep our books accurate, but sometimes mistakes creep in. This page lists the errors submitted by our astute readers. If you've found a new error, please submit it.

The latest version of the book is P5.0, released 7 days ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.

Key: Typo Tech. Error Suggestion Not a problem Next edition

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:  

(To find out what version you have, look at the copyright page, a few pages in from the front of the book. If it says (say) 'Second Printing', then here it'll be P2.0. If there are interim PDF releases in that printing, they'll be 2.1, 2.2, and so on.)

PDF Paper Description Found in Fixed in
128
#42272: the html code in _cart_item.html.erb doesn't work as written, there seems to be an open <tr> with no ending </tr>, and I cannot work out where...more...
P4.0
07-Feb-10
128

#42282: Please remove previous erratum <tr>, typo with javascript defaults was causing the error.--kacey

P4.0
08-Feb-10
143
#42139: I realize that the Store application is designed to give someone unfamiliar with Rails a really quick tour of what an awesome app you can make...more...
P4.0
22-Jan-10
412
#42273: In the discussion of how to build a callback class and express it throughout all models, I think that a critical question is not addressed: ...more...
P5.0
08-Feb-10

Stuff To Be Considered in the Next Edition

PDF Paper Description Found in Fixed in
18
#41589: ERb is defined as "Embedded Ruby" on p. 18 but is not in the index, please add to index. P2.0 printing April 2009 Version: 2009-4-7, please a...more...
P1.0
21-Nov-09
114
#42012: To produce the sans-serif cart title shown in the "screen-shot", the css for .cart-title needs to be "font: bold 120% sans-serif;". ("120% bo...more...
P4.0
05-Jan-10
137
#42022: For those who did the additional problem of linking using the book image. Here is the AJAX code to perform the same task as the new AJAX butto...more...
P1.0
08-Jan-10
171
#41917: As of the end of section 11.2 the admin_controller function is not working as intended in the case of erroneous logins. Having a seperate t...more...
P4.0
26-Dec-09
203
#41429: The i18n.t examples are leaving the colon out of the message, for example: <%= form.label :name, I18n.t('checkout.name') + ":" %> This sho...more...
P1.0
14-Nov-09
204
#41924: On the use of UTF-8, HTML and Javascript... Page 194, section 13.1 states: "if you do this, just make sure that your editor is configured f...more...
Sam Ruby says: There's a bug report on Rails open on this: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2409-activerecord-double-escapes-error_messages_for I plan to address this in the next edition.
P4.0
26-Dec-09
657
#41595: The instructions for creating the empty git repository assume git has been installed on the git server. But the reader was not told to instal...more...
P1.0
22-Nov-09