Errata for Rails Recipes
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 P1.0, released about 1 year 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.
| Paper | Description | Found in | Fixed in | |
|---|---|---|---|---|
| 1 | 292 |
#48997: Why isn't the book written using MVC approach. Everything Rails, from tutorials to screencasts use MVC so that readers can see how every piece...more...
|
B6.0
27-Mar-12 |
|
| 10 |
#49092: The link to the Pragmatic Programmers Rails Recipes forum is the old forum. The forum id is 189, not 8. (I couldn't post the corrected url - t...more...
|
P1.0
09-Apr-12 |
||
| 22 |
#48716: scope :available, where(:available => true) should be default_scope :available, where(:available => true)--Pavel Kotlyar |
B5.0
14-Feb-12 |
||
| 54 |
#49055: Recipe: 10 - "Connect to Legacy Databases"
Code is in a CDATA section.
When you show how to find and destroy a comment (from the Rails con...more...
|
P1.0
04-Apr-12 |
||
| 64 |
#49056: Recipe: 14 - "Create Self-referential Many-to-Many Relationships"
You refer to a Friend model in the phrase "...given the existence of both...more...
|
P1.0
04-Apr-12 |
||
| 76 |
#50378: The example for this recipe doesn't do anything with the registration form once an event is created which is the whole purpose of the recipe.
...more...
|
P1.0
14-Dec-12 |
||
| 140 |
#49215: Recipe 38 - the last code example on the page contains the line 'songs.sum(&:duration_in_seconds)', which should be 'songs.sum(:duration_in_seconds)'--Nathan Pruett |
P1.0
27-Apr-12 |
||
| 236 |
#50341: The example orders_controller.rb should have the lines format.csv { instead of format.csv do
|
P1.0
08-Dec-12 |
||
| 237 |
#50758: In the paragraph under the orders_controller.rb code, the final sentence says: "We use the generate() method on the CSV class to create a CVS ...more...
|
P1.0
06-Feb-13 |
||
| 247 |
#49051: Recipe: "Create Your Own Ruby Gem"
After you show the .gemspec file you say "we’ve told RubyGems that our library requires a version of HTT...more...
|
B6.0
03-Apr-12 |
||
| 267 |
#49370: "You’ll notice the call to isolate_engine()." should be "... isolate_namespace().".--Eito Katagiri |
P1.0
25-May-12 |

