- ISBN13: 978-1-59059-781-1
- ISBN10: 1-59059-781-8
- 621 pp.
- Published Oct 2007
- Print Book Price: $44.99
- eBook Price: $31.49
Errata Submission
If you think that you've found an error in Practical Rails Projects, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.
Errata
| Issue | Author's Response |
|---|---|
| Page 41-42. Acts as authenticated is no longer in use. Restful authentication is used now and the file names are different. | Restful auth was a re-write fo the acts as authenticated plugin which has gone through a pretty major amount of changes since the book was published. I believe that I included the appropriate revisions of all plugins in the source code archives that could simply be copied into your own copies. There's also been a good amount of discussions at www.railsprojects.com |
| Figure 3-5 on p. 46 in chapter 2 is supposed to represent a screenshot resulting from code that has been improved relative to the previous version. However, it's exactly the same screenshot as in Figure 3-4 on p. 44. I would expect the "Today" and "Logout" items to be missing in Figure 3-5. | Correct - this appears to be a printing issue. You can find some other common errata updates for this project at http://railsprojects.com/forums/3/topics/17 |
| Chapter 4, page 62. A minor error in the HTML code, both label fields have an incorrect 'for' attribute. The corrected code is: <label for='name'>Task:</label> <%= t.text_field 'name' %> ... <label for='due_date'>Due Date:</label> <%= t.text_field 'due_date' %> |
The book is correct - the Rails form helpers such as text_field generate an HTML element which is a combination of both the model name AND the model attribute. So these would be: <label for='task_name'>Task:</label> <%= t.text_field 'name' %> ... <label for='task_due_date'>Due Date:</label> <%= t.text_field 'due_date' %> |
