small medium large xlarge

Errata for Agile Web Development with Rails

 

The latest version of the book is P6.0, released about 10 years 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.

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

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: P6.0 (28-Sep-11)
#47654
PDF page: hpcXE
Paper page: tYVhL

iLhIjY web20power.txt;1;1--JiueKXnZGiTq

  • Reported in: P2.0 (25-Aug-05)
#23216
PDF page: i
Paper page: i
Dave says: For general help with Rails and examples in the book, I recommend the Rails mailing list at http://lists.rubyonrails.org/mailman/listinfo/r...more...
  • Reported in: P4.0 (21-Mar-06)
#24344
Paper page: 1
You should put together a comprehensive list of all the naming conventions in one place. "id" is in the begining of the book, datetime on page 116 an...more...
  • Reported in: P6.0 (10-Sep-11)
#47533
PDF page: 2rand
Paper page: 2rand

+z$8frZdyL%68pSU/:>w<:E3.lG-!XIB--zyqMdVsbiEOwzNQ

  • Reported in: P4.0 (03-Mar-06)
#24234
PDF page: 5
Currently, all downloadable code linked from the PDF book has the Content-Type set to "text/html". This will make most browsers show the code in one h...more...
  • Reported in: P4.0 (21-Apr-06)
#24514
PDF page: 5

"In the margin, you--jeff e

  • Reported in: P4.0 (08-Feb-06)
#24088
PDF page: 6
"This book documents Rails V1.0, which became available in mid 2005" should be "This book documents Rails 1.0, which became available on December 13, ...more...
  • Reported in: P4.0 (23-Apr-06)
#24522
PDF page: 15
"Sometimes these class-level methods return collections of objects. Order.find(:all, :conditions => "name='dave'") do |order|  puts order.amount e...more...
  • Reported in: P4.0 (21-Jun-06)
#25308
PDF page: 20
Well one drop for the general context... I must confess I haven't bought that book yet, I'm just testing it. It's my first contact with Rails, Ruby a...more...
  • Reported in: P4.0 (17-Jun-06)
#25285
Paper page: 23

In the fifth printing of the book, the link to Lucas Carlson's instructions for Ruby on Mac OS X Tiger leads to an error page.--Jeffrey Yu

  • Reported in: P4.0 (03-Apr-06)
#24403
PDF page: 33
The "Making Development Easier" box is very valuable information, but I question whether this is the best place to put it. I would have rather read s...more...
  • Reported in: P4.0 (03-Apr-06)
#24405
PDF page: 50
I am going through the tutorial with you: After "rails depot" and then "cd depot" and then "ls" my directories are different from yours. For example ...more...
  • Reported in: P4.0 (26-Apr-06)
#24533
PDF page: 50
The code at the bottom of the page is unclear. What should one do with it? Type it at an 'mysql' prompt? If so, the result is an error (1046) that ...more...
  • Reported in: P4.0 (21-Jun-06)
#25309
PDF page: 50
I'm using MYSQL 5.0.22 the current last stable version on windows XP SP2. It's my first enccounter with MYSQL so my problems could be related to my la...more...
  • Reported in: P4.0 (26-Jan-06)
#23994
PDF page: 51

you might want to add "-u dave" to the mysql statement--Chad Bearden

  • Reported in: P4.0 (26-Apr-06)
#24534
PDF page: 51

When one types the following string (mysql depot_development <db/create.sql), the result is an ->. What then? This entire section is unclear.

  • Reported in: P4.0 (12-Feb-06)
#24116
PDF page: 52
It seems that the rails script now adds the application to database.yml: database: depot_development It automatically replaces the rails_develop...more...
  • Reported in: P4.0 (04-Apr-06)
#24409
PDF page: 52
Not sure if you mention this later or not, but for Windows there needs to be: port: 3306 in the file. And for Linux there needs to be, for exam...more...
  • Reported in: P4.0 (21-Jun-06)
#25310
PDF page: 52
Depot_xxxx are already correctly set in database.yml. But as you said after, I advise to put 'dave' as username in development and test. The system i...more...
  • Reported in: P4.0 (19-Apr-06)
#24500
PDF page: 53
Repeated reinstallations of entire package on OSX 10.4.6 continually produce the following: ./script/../config/../config/environment.rb:8: warning:...more...
  • Reported in: P4.0 (21-Apr-06)
#24510
PDF page: 53
for, depot> ruby script/generate scaffold Product Admin I had to use infor from http://dev.rubyonrails.org/ticket/200 to get it to work on Linu...more...
  • Reported in: P4.0 (26-Apr-06)
#24532
PDF page: 53
When attempting to run the line "ruby script/generate scaffold Products Admin" in Windows, I receive the following error listed in the book (addressed...more...
  • Reported in: P4.0 (30-Apr-06)
#24556
PDF page: 53
On OS X (10.4.3), when I attempt to run script/generate scaffold Product Admin, I get the following error: You have a nil object when you didn't ex...more...
  • Reported in: P4.0 (28-Feb-06)
#24212
Paper page: 54
While creating the databases, the user should issue the command: mysql> grant all on depot_development.* to 'dave'@'localhost'; There is no indica...more...
  • Reported in: P4.0 (11-Mar-06)
#24283
Paper page: 54
After setting database privileges, if you exit mysql without typing the magic words "flush privileges", the privileges you've just set won't take effe...more...
  • Reported in: P1.0 (03-Dec-06)
#26704
Paper page: 57
ppc:~/work/depot tomcoady$ ruby script/generate scaffold Product Admin ./script/../config/boot.rb:18:in `require': No such file to load -- rubygems (...more...
  • Reported in: P1.0 (03-Dec-06)
#26705
Paper page: 57
Solution to my tech error: ppc:~/src/rubygems-0.8.11 tomcoady$ sudo ruby setup.rb ppc:~/work/depot tomcoady$ sudo gem install -v=1.1.6 rails --Tom...more...
  • Reported in: P4.0 (09-Jul-06)
#25428
Paper page: 57
After running "ruby script/generate scaffold Product Admin" on linux box using SuSE v10.0 and MySql Ver 14.12 Distrib 5.0.22, I get an error stating /...more...
  • Reported in: P3.0 (12-Jan-06)
#23940
Paper page: 57
The 'gotcha' notes (3,4,& 5) are useful. You might consider adding another... If you get Routing Error: Recognition failed for '/admin', make sur...more...
  • Reported in: P6.0 (16-Dec-06)
#26760
Paper page: 57
I think the code should read ruby script/generate scaffold Products Admin since the table was created with the name products (plural, not singular...more...
  • Reported in: P4.0 (11-Apr-08)
#31649
Paper page: 57
My version of the paper book is actually P5 (2006-02-16). The problem is that scaffold has changed. I am running Rails 2.02 and the following command ...more...
  • Reported in: P6.0 (09-Jan-07)
#26821
Paper page: 57
Okay, so this is a gripe. As noted previously, the link to Lucas Carlson's fix is no longer to be found as described. However, you can go to the Inter...more...
  • Reported in: P4.0 (08-May-06)
#24784
Paper page: 57
I've seen this error elsewhere but never a solution. Here goes: On page 57, I entered, at depot prompt, ruby script/generate scaffold Product Admin ...more...
  • Reported in: P4.0 (19-Mar-06)
#24333
PDF page: 62
The unless clause of the validate method is wrong. To verify this, comment out 'validates_numericality_of :price' and try submitting a product withou...more...
  • Reported in: P4.0 (21-Jun-06)
#25300
PDF page: 62
In the eBook we have this code for product.rb: errors.add(:price, "should be positive") unless price.nil? || price >= 0.01 Where as the downloadable...more...
  • Reported in: P4.0 (21-Jun-06)
#25301
PDF page: 62

Quote from second paragraph:
"Note that we only do the check if the price has
been set. Without that extra test we--Max

  • Reported in: P6.0 (28-May-07)
#29155
PDF page: 62
Just a note for readers who may get put-off by the unknowability's of generated code-bases early on. Should a user make an error in pluralisation in ...more...
  • Reported in: P4.0 (30-Apr-06)
#24557
PDF page: 63
Paper page: 63
Cannot "destroy" items. Both file listings 66 & 67 omit ':post' argument in the link_to 'Destroy' line. The line should read: <%= link_to 'Destr...more...
  • Reported in: P4.0 (01-Apr-06)
#24397
PDF page: 64

Link to ERb definition is not on page 31 as stated.--Pierre-Loïc Raynaud

  • Reported in: P6.0 (21-Aug-06)
#25764
PDF page: 64
It took me quite some time when I was working through the sample code to figure out what was wrong. When editing the list.rhtml, I just erased what w...more...
  • Reported in: P4.0 (18-Jul-06)
#25475
PDF page: 65

ITERATION A4

  • Reported in: P4.0 (08-Mar-06)
#24254
PDF page: 65
Relative URL's not allowed by current validates_format_of :with parameter; where the text says: "Put some images in the public/images directory and en...more...
  • Reported in: P4.0 (21-Jun-06)
#25311
PDF page: 65

":post => true" is missing after :confirm => "are you sure?".
Without this you cannot destroy anything :)

Feedback to Kagejin0@yahoo.fr --Koguma

  • Reported in: P6.0 (17-Aug-06)
#25734
Paper page: 69
The list action for Destroy as it is in the book didn't work for me: Clicking Destroy would pop up the confirmation dialog, but choosing ok would just...more...
  • Reported in: P4.0 (03-Mar-06)
#24228
Paper page: 69
The text starting: 'put some images in the public/images directory' led me to think that the correct url for the images in the production form was /pu...more...
  • Reported in: P4.0 (17-Mar-06)
#24313
Paper page: 69
The images do not display when added in relative format. In the list.rhtml file you should use <img width="100" height="80" src="/depot/images/<%= ...more...
  • Reported in: P4.0 (07-Apr-06)
#24420
PDF page: 71

We’ll also take this opportunity to tidy up the index.rhtml view in app/views.

it should be: app/views/store--kibo

  • Reported in: P4.0 (18-Jan-06)
#23965
PDF page: 71
This is the first time depot.css is mentioned. It has to be included in the project for proper view display. Needs to be copied from the sample code...more...
  • Reported in: P6.0 (18-Oct-06)
#26291
PDF page: 71

I'd rather remove the line numbers from listing of layout store.rhtml. With line numbers this sample is uncomfortable to copy/paste.

  • Reported in: P1.0 (04-Dec-06)
#26711
Paper page: 73
The suggested code does not work for me but I found the right code elsewhere in the code bundle - detail here to avoid unititiated Product: http://gro...more...
  • Reported in: P4.0 (09-Feb-06)
#24091
PDF page: 76
As was previously stated, " In the implementaion of find_cart, the 3rd line reads "session[:cart] ||=Cart.new" This line should read "@cart = session[...more...
  • Reported in: P4.0 (17-May-06)
#24888
PDF page: 76

At first sight this approach to database maintenance is
attractive--Gordon Thiesfeld

  • Reported in: P4.0 (03-Jun-06)
#25164
PDF page: 76
As pointed out before, there is an error in session[:cart] ||= Cart.new I replaced the code with session[@cart] ||= Cart.new and it magically wo...more...
  • Reported in: P2.0 (20-Aug-05)
#23187
PDF page: 79

The hyperlink to page 474 that describes the << operator points to page 473.--Stephen Touset

  • Reported in: P6.0 (07-Sep-06)
#25862
Paper page: 80
I made all the additions to the code to the end of making the cart I get the rails error: "You have a nil object when you didn't expect it! Yo...more...
  • Reported in: P3.1 (18-Mar-06)
#24329
Paper page: 81
IWhen I run the sql at the bottom of the page to create the new table, I get an error "ERROR 1005 at line 13: Can't create table '.\depot_development\...more...
  • Reported in: P1.0 (12-Sep-06)
#25904
Paper page: 81
similar to the error already reported... ERROR 1064 (42000) at line 12: You have an error in your SQL syntax; check the manual that corresponds to ...more...
  • Reported in: P4.0 (22-Jun-06)
#25318
PDF page: 81

items.sizes is nil !!!

  • Reported in: P4.0 (31-Mar-06)
#24395
PDF page: 82
Others have mentioned this error and I've tried all their suggestions but I can't get any to work. Upon testing the cart to see if it will return the ...more...
  • Reported in: P4.0 (20-Mar-06)
#24335
PDF page: 83
find: Using the model declaration forces Rails to load the user model class early, replace with: Using the model declaration forces Rails to load...more...
  • Reported in: P4.0 (30-Mar-06)
#24393
PDF page: 84
The online version of the file for '...app/models/cart.rb' (http://media.pragprog.com/titles/rails/code/depot9/app/models/cart.rb) differs in the four...more...
  • Reported in: P3.1 (02-Jan-06)
#23910
Paper page: 85
The display_cart method on this page must be placed in the store controller *before* the private declaration line that's already in that class definit...more...
  • Reported in: P2.0 (07-Apr-06)
#24422
Paper page: 85
In reference to problem #2532, "You have a nil object when you didn't expect it!", I also ran into the problem in chapter 8. I typoed a simple part o...more...
  • Reported in: P3.0 (12-Oct-06)
#26229
Paper page: 85
When looking at "depot/public/store/display_cart" with my browser I was getting the error: undefined local variable or method `find_cart' for #<Sto...more...
  • Reported in: P1.0 (09-Mar-06)
#24256
Paper page: 85
Re #2532 - This also happend to me running under Webrick. The solution was to both close the browser and restart Webrick. Hope this helps the other ...more...
  • Reported in: P1.0 (16-Sep-07)
#29669
PDF page: 86
Concerning the invalid IDs of objects in the URL line: it is not certain that an exception will always be thrown. I assume that the ID field, extracte...more...
  • Reported in: P4.0 (12-Apr-06)
#24448
Paper page: 87
In regard to the common error "NoMethodError in Store#display_cart Showing app/views/store/display_cart.rhtml where line #5 raised: You have a ...more...
  • Reported in: P2.0 (15-Mar-06)
#24296
Paper page: 88

Editing cart.rb in order to enable the quantity to increment requires a WebTrick restart to work properly.--Bob Clewell

  • Reported in: P4.0 (13-Mar-06)
#24288
PDF page: 90
The file link beside "<% @page_title = "Your Pragmatic Cart" -%>" is File 29. File 29 contains the fmt_dollars() helper. fmt_dollars() isn't defined u...more...
  • Reported in: P4.0 (15-May-06)
#24860
PDF page: 96
Unable to create the session table. C:\apps\ruby\files\work\depot>rake --trace db:session:create (in C:/apps/ruby/files/work/depot) rake aborted!...more...
  • Reported in: P3.0 (31-May-06)
#25138
Paper page: 96
Flash messages are not displaying correctly using IE 6 sp2. Results of invalid add_to_cart, empty_cart, etc no flash message appears to display. ...more...
  • Reported in: P2.0 (22-Nov-05)
#23580
Paper page: 98
using the fmt_dollars(item.unit_price) method, values less than 1, (values < 1) on the display_cart details show up as 0.00 but get added correctly to...more...
  • Reported in: P4.0 (31-Jan-06)
#24003
PDF page: 98

render_partial "form"
is now
render :partial => "form"--Dave Myron

  • Reported in: P6.0 (17-Nov-12)
#50174
PDF page: 98
Destroy link does still not work, even if <%= link_to 'Destroy', { :action => 'destroy', :id => product }, :confirm => "Are you sure?", :post =...more...
  • Reported in: P4.0 (27-Jun-06)
#25348
PDF page: 99

In "Putting Session in the Database", theres an extra "that." in the first paragraph (First, we--Jose Guerra

  • Reported in: P4.0 (06-Mar-06)
#24239
PDF page: 99
Since file names can contain dashes (-) in them, it never struck me that check-out.rhtml was actually checkout.rhtml until I went to test the page. Wh...more...
  • Reported in: B1.0 (10-Oct-06)
#26216
PDF page: 101
@order.line_items << @cart.items has to be @order.LineItems << @cart.items otherwise, ruby will report an unknown method "line_items" for the order ob...more...
  • Reported in: P6.0 (24-Oct-06)
#26369
Paper page: 103

103 describes nirvana as a state of being, but it is really a state of not-being.--William Henderson

  • Reported in: P4.0 (26-Jun-06)
#25340
PDF page: 103

Not filling the 4 fields is will highlight them correctly, but there is no message as shown on the screen copy.--koguma

  • Reported in: P3.0 (21-Dec-05)
#23872
Paper page: 105
When I write code as in file 36: options = [["select a payment option", ""]] + Order::PAYMENT_TYPES select( "order", "pay_type", options) I see a...more...
  • Reported in: P4.0 (28-Feb-06)
#24216
Paper page: 105
The file name checkout.rhtml is hyphenated to check-out.rhtm in paragraph 3. This is the only reference to the file name on the page where the code is...more...
  • Reported in: P4.0 (28-Feb-06)
#24213
Paper page: 108
The code in checkout.rhtml that displays the error message is given as: <%= error_messages_for(:order) %> This works fine if there is an error p...more...
  • Reported in: P4.0 (28-Feb-06)
#24215
Paper page: 108
The problem with "error_message_for(:order)" occurs if you have named the page check-out.rhtml as given on page 105. If you correct the page name to c...more...
  • Reported in: P4.0 (30-Dec-05)
#23894
Paper page: 109
Adding the scaffold stylesheet to the store layout seems to disable any formatting from the depot stylesheet. It doesn't seem to matter which I list ...more...
  • Reported in: P4.0 (13-Apr-06)
#24473
Paper page: 109
#2855: The test "Just as with the administration validation, we need to add the scaffold.css styolesheet to our store layout file to get decent format...more...
  • Reported in: P2.0 (13-Mar-06)
#24289
Paper page: 109
There is an issue with the cascading style sheets being used here. The problem is that both the scaffold and depot stylesheets are combining to produc...more...
  • Reported in: P2.0 (16-Feb-06)
#24141
Paper page: 115
"and a slightly different interaction style to the one we've been using so far." -> "... interaction style than the one we've been using so far."--Jus...more...
  • Reported in: P6.0 (01-Feb-07)
#26928
PDF page: 116
This may be a simple erratum. In the 7th row of the code, where in the function of ship, the "#{count_text} marked as shipped" should be "has shipped"...more...
  • Reported in: P4.0 (16-Jan-06)
#23947
PDF page: 116
The code given for the ship method should not include the check (if count > 0) if you want to be able to show the intended message "No orders marked a...more...
  • Reported in: P3.1 (19-Mar-06)
#24334
Paper page: 119

The admin.css file is not included in the code download, so we need to type this in manually :(--Nick Coyne

  • Reported in: P4.0 (13-Apr-06)
#24472
Paper page: 119
The test "Just as with the administration validation, we need to add the scaffold.css styolesheet to our store layout file to get decent formatting fo...more...
  • Reported in: P4.0 (21-Feb-06)
#24162
PDF page: 120
The code snippet given for login_controller.rb is missing an "end" statement at the end of it to close : class LoginController < ApplicationControl...more...
  • Reported in: P3.0 (14-Oct-06)
#26252
Paper page: 122
The ship method only calls the pluralize method if the count is greater than 1: def ship count = 0 if things_to_ship = params[:to_be_ship...more...
  • Reported in: P4.0 (28-Feb-06)
#24217
PDF page: 122

The Login controller's "Add User" picture is incorrect. It has the stylesheet applied and looks much fancier.--Miles K. Forrest

  • Reported in: P4.0 (22-Apr-06)
#24518
Paper page: 122

in File 48 (listed on page 122) -- the Pluralize method returns an error of 'undefined method' for 'pluralize'

  • Reported in: B1.0 (04-Jun-05)
#22678
PDF page: 126
"Have a look at the source of the controller on page 478 and of the view on page 486." The link to page 478 goes to page 475, and the link to page ...more...
  • Reported in: P4.0 (28-Feb-06)
#24218
PDF page: 126

Link to page 490 actually goes to 487, and 498 goes to 495--Miles K. Forrest

  • Reported in: P6.0 (08-Oct-06)
#26190
Paper page: 130

Whenever I try to add the initial user I am just forwarded to login/login. Is there another way just to add 1 user?--Sean

  • Reported in: P3.0 (14-Feb-06)
#24131
Paper page: 134
The delete_user action uses a symbol reference for the redirection: redirect_to(:action => :list_users) While this obviously works it is a little co...more...
  • Reported in: P4.0 (31-Jan-06)
#24004
PDF page: 134
It seems that the generator for unit tests no longer generates the setup method (Rails 1.0.0) so the code in the PDF/Book doesn't match watch is actua...more...
  • Reported in: P4.0 (07-Mar-06)
#24246
PDF page: 138
the "assert_equal 29.95, @product.price" fails for me, even though product.price is 29.95. The only way to make this assert to pass it was changing t...more...
  • Reported in: P4.0 (22-Feb-06)
#24182
PDF page: 139
You might want to make mention of looking at the code for this test section. You tend to be very brief in your explanation and tend to leave the read...more...
  • Reported in: P4.0 (17-Mar-06)
#24315
PDF page: 140
Following the book, the create.sql creates MyISAM tables in MySQL by default. To change these later, use: ALTER TABLE depot_test.products ENGINE=In...more...
  • Reported in: P4.0 (21-Mar-06)
#24340
PDF page: 141
Maybe it helps someone: here is the correct code for test_read_with_fixture_variable: def test_read_with_fixture_variable assert_kind_of Produ...more...
  • Reported in: P4.0 (11-Apr-06)
#24444
PDF page: 141

If you are getting the error about @products being nil then set use_instantiated_fixtures = true in test/test_helper.rb.--Luca Spiller

  • Reported in: P1.0 (11-Jan-06)
#23938
PDF page: 141
Paper page: 68
As a side bar it would have been nice to have been warned about strftime and how our database with empty or default 0000-00-00 00:00:00 values for dat...more...
  • Reported in: P4.0 (14-Mar-06)
#24295
PDF page: 141
New to RoR, so this might be the same as the erratum beginning "With the new testing rules, a good chunk ". In the test_read_with_hash method, the li...more...
  • Reported in: P3.1 (24-Dec-05)
#23879
PDF page: 142
Figure 12.1 suggests the members of the @products hash are Product objects coming from the database, as @version_control_book is. This is misleading b...more...
  • Reported in: P3.1 (15-Dec-05)
#23850
PDF page: 143
If you make a mistake in the yaml for the entry @future_proof_book, you won't be told if it doesn't exist and it will silently pass as it resolves to ...more...
  • Reported in: P2.0 (16-Feb-06)
#24142
Paper page: 144

"... then paying his valid credit card..." -> "... then paying with his valid credit card ..."--Justin Johnson

  • Reported in: P4.0 (31-Jan-06)
#24005
PDF page: 146
test_helper.rb looks (mostly) nothing like the example in the PDF. It now looks like: ENV["RAILS_ENV"] = "test" require File.expand_path(File.d...more...
  • Reported in: P3.0 (27-Dec-05)
#23885
Paper page: 147
test_helper.rb must be updated in order for the test_destroy method to be used if the MySQL database is using MyISAM tables (the default for CocoaMySQ...more...
  • Reported in: P3.0 (28-Dec-05)
#23887
Paper page: 148
Rails has recently, in 1.0, updated the way it handles fixtures. If you're having problems, see Mike Clark's weblog here: http://clarkware.com/cgi/bl...more...
  • Reported in: P3.0 (03-Feb-06)
#24022
Paper page: 148
The @products and @version_control_book instance variables are not available unless you set the 'use_instantiated_fixtures' attribute to true. This ca...more...
  • Reported in: P4.0 (01-May-06)
#24561
Paper page: 148
when running test_read_with_hash omitting the before_type_cast suffix to the date assertion seems to allow the test to pass - including it causes a mi...more...
  • Reported in: P1.0 (27-Sep-05)
#23261
Paper page: 151
Maybe I'm not quite understanding what Mike is saying (in the context of using a dynamic fixture to 'future-proof' the test of salable_items). He says...more...
  • Reported in: P3.0 (19-Apr-07)
#28629
Paper page: 152
in your tests, you are testing the equality of ambiguous numbers (floats). The prices you chose for the fixtures just _happen_ to work, but other pric...more...
  • Reported in: P4.0 (07-Feb-06)
#24080
PDF page: 156 - 159
The file examples for store_controller.rb thoughout this section contain arguments to the fixture() method that look like this. fixtures :products, :...more...
  • Reported in: P4.0 (11-Apr-06)
#24441
Paper page: 156
Book Version 2005-12-20. Running "ruby test/functional/login_controller_test.rb" produces error: "method 'before_destroy' for LoginController:Class (...more...
  • Reported in: P3.0 (25-Feb-06)
#24197
Paper page: 159
This may be a Ruby/Rails version problem (Ruby 1.8.2, Rails 1.0.0). The session array is problematic. I see examples with it as a global variable (y...more...
  • Reported in: P4.0 (23-Feb-07)
#27028
PDF page: 166
The listing of application.rb is inaccurate. It should include the following lines just after the class declaration: # Pick a unique cookie name...more...
  • Reported in: P4.0 (15-Mar-06)
#24297
PDF page: 169
File 121 online (http://media.pragprog.com/titles/rails/code/depot_testing/test/performance/order_test.rb) doesn't quite match the code on the page, n...more...
  • Reported in: P4.0 (15-Mar-06)
#24298
PDF page: 169
When running the performance test it fails with a MySQL foreign key constraint violation. Examining the test log file, it's because the first save_ord...more...
  • Reported in: P4.0 (21-Mar-06)
#24347
PDF page: 170

The use of transactional fixtures is already standard in my version of Rails (set in test_helper.rb).--Juergen

  • Reported in: P4.0 (14-Jul-06)
#25446
PDF page: 170

h

  • Reported in: P3.0 (17-Feb-06)
#24151
Paper page: 176
Running the code listed for File 121 on Page 176 of the book (12.7 Performance Testing) produced an integrity constraint violation error from MySQL ca...more...
  • Reported in: P3.1 (10-Jan-06)
#23936
PDF page: 183
Grouping controllers in modules: I have grouped controllers as described in this section using the command format: myapp> ruby script/generate contro...more...
  • Reported in: P4.0 (03-Jul-06)
#25395
PDF page: 193
Logging In Now that we have a user in the test database, let's see if we can log in as taht user. If we were using a browser.... ---- taht s...more...
  • Reported in: P4.0 (27-Apr-06)
#24548
PDF page: 207
Order.find_on_page(page_num, page_size) the above function defined should probably be more like, def Order.find_on_page(page_num,page_size) f...more...
  • Reported in: P4.0 (19-Jan-06)
#23966
PDF page: 209
To be a little more consistent, I think the line order = Order.find_all_by_email(params['email']) should be "orders = .... " to match the other...more...
  • Reported in: P3.1 (23-Dec-05)
#23876
PDF page: 212
<blockquote><code>result = Product.update_all("price = 1.1*price", "title like '%Java%'") </code></blockquote> It would have been useful if you sho...more...
  • Reported in: P4.0 (17-Jan-06)
#23948
PDF page: 213
Paper page: 222
In the bit about save vs. save! when it comes to callbacks in there too it doesn't work exactly like that either :-( Went digging and found http://de...more...
  • Reported in: P4.0 (07-Apr-06)
#24423
PDF page: 221
With regard to assigning a new object to a has_one relationship, the text suggests the following code: invoice = Invoice.new # fill in the inv...more...
  • Reported in: P1.0 (25-Feb-06)
#24200
Paper page: 226
"It's worth noting that it isn't the foreign keys that set up the relationships. These are just hints to the database that it should check that the v...more...
  • Reported in: P4.0 (01-May-06)
#24560
PDF page: 226

6th paragraph -- "This is useful in cases where simply adding to the where clause using the :condition option isn--Rob Leslie

  • Reported in: P3.0 (27-Mar-06)
#24383
Paper page: 228

In the second sentence: "You indicate these relationships..." the word relationships is misspelled ('relatonships').

  • Reported in: P4.0 (02-Jan-06)
#23914
PDF page: 232
Regarding class User < ActiveRecord::Base has_and_belongs_to_many :articles def read_article(article) articles.push_with_attributes(ar...more...
  • Reported in: P1.0 (10-Jan-06)
#23933
PDF page: 236
The section on counters states: "How many lines items does this order have?" but then the counter is created with the product, so instead it answers "...more...
  • Reported in: P3.0 (21-Dec-05)
#23873
Paper page: 250
I would really value an expansion on how to induce #error_message_for to format validation errors for objects that have been rolled back (by the trans...more...
  • Reported in: P4.0 (08-Jan-06)
#23930
PDF page: 261

validates_format_of: syntax coloring error in example code; "in" should be blue instead of red--Benoit Gagnon

  • Reported in: P4.0 (02-Feb-06)
#24012
PDF page: 261
I couldn't work out really quickly how to make a test case work to see if this is true or not, but it seems like the default message for validates_exc...more...
  • Reported in: P4.0 (02-Jan-06)
#23913
PDF page: 266
Not certain, but shouldn't the regexp in def normalize_credit_card_number self.cc_number.gsub!(/-\w/, '') end contain \s rather than \w? Ass...more...
  • Reported in: P4.0 (02-Jan-06)
#23917
PDF page: 267
If there is no difference between created_on and created_at, nor between updated_on and updated_at, perhaps this should be stated (even more) explicit...more...
  • Reported in: P4.0 (20-Apr-06)
#24504
PDF page: 269
The Encrypter class reads: def initialize(attrs_to_manage) when it should have a splat: def initialize(*attrs_to_manage) in order to handl...more...
  • Reported in: P4.0 (15-Jul-06)
#25454
PDF page: 273
result.each do |line_item| puts "Line item #{line_item.id}: Should fail, as result = LineItem.find_by_sql("select quantity, quantity*unit_price...more...
  • Reported in: P4.0 (22-Feb-06)
#24171
PDF page: 279
At the beginning of the ActiveController section(16.1) the process of the loading of an ActionController is described. There it says that the correspo...more...
  • Reported in: P3.0 (27-Dec-05)
#23883
PDF page: 301
If a section header is the first thing on a page, the link from the TOC will land on the page previous to the start of the section. Also, the page ...more...
  • Reported in: P2.0 (29-Jun-06)
#25364
Paper page: 302

"You can pass additional parameters as a hash to these named route."

"route" should be pluralized--Austin

  • Reported in: P3.0 (17-Jan-06)
#23949
Paper page: 302

Shouldn't the OrderController class extend ApplicationController or ActionController... not ActiveRecord::Base?--Ben Munat

  • Reported in: P4.0 (01-Jan-06)
#23904
PDF page: 306

I'm thinking the link to the 16.8/p323 should actually be to p310 re: Session Expiry and the :session_expiry and not to page caching?--Chris Nolan.ca

  • Reported in: P6.0 (08-Apr-07)
#28391
PDF page: 308
You refer to "Session Container Performance in Ruby on Rails" hosted in your site. The overall picture comparison is not available (media.pragprog.com...more...
  • Reported in: P4.0 (01-Mar-06)
#24221
PDF page: 319

The first line of verify_premium_user is a return statement. That can't be correct, can it?--Jeff de Vries

  • Reported in: P4.0 (17-Mar-06)
#24320
Paper page: 330

Why does verify_premium_user have a "return" statement as the first line in its definition? I believe this is a typo.--Justin Johnson

  • Reported in: P4.0 (02-May-06)
#24590
PDF page: 336

In <%= number_with_delimiter(12345678, delimiter = "_") %> I suspect the second argument should be :delimiter => "_".--Rob Leslie

  • Reported in: P4.0 (24-Mar-06)
#24375
PDF page: 344

and the corresponding value are the value

and the corresponding values are the value--Robin Bhattacharyya

  • Reported in: P2.0 (14-Apr-06)
#24482
Paper page: 351
There is only a couple of lines about RSS. Could you please include an example of how this works both on the server side and client side. After readin...more...
  • Reported in: P3.0 (10-Mar-06)
#24277
Paper page: 351
"Finally, the magic option :encode=>"javascript" uses client-side Javascript to obscure the generated link, making it harder for spiders to harvest e-...more...
  • Reported in: P3.0 (28-Mar-06)
#24387
Paper page: 352

In the RHTML-code at the bottom of the page, inside the for user loop, the <tr> tag isn't closed. Thanks for an awesome book!--Mathias Wittlock

  • Reported in: P4.0 (26-Feb-06)
#24206
Paper page: 357
In description of text fields: "common options include :size... and :maxsize..." Shouldn't the last be ":maxlength", in order to have the browser cut...more...
  • Reported in: P3.1 (22-Mar-06)
#24356
Paper page: 359
It would be great if you showed some code to illustrate your point "in reality the find would probably be either in the controller or in a helper modu...more...
  • Reported in: P6.0 (19-Oct-06)
#26318
Paper page: 362
I found it hard to get through the upload process. When precisely the picture= accessor is called? It is called in the model, down in ActiveRecord som...more...
  • Reported in: P4.0 (02-Mar-06)
#24226
Paper page: 363
The file uploading process described here is accurate, complete and helpful but it includes a sentence that makes its use potentially ambiguous. The l...more...
  • Reported in: P3.0 (18-Jan-06)
#23964
Paper page: 369
"If the current request is being handled by a controller called store, Rails will by default look for a layout called store_layout (with the usual .rh...more...
  • Reported in: P1.0 (10-Jan-06)
#23934
Paper page: 375
render_component passing the controller as a symbol generates a camelize error with rails 1.0. Various irc members also mentioned that it is a big no-...more...
  • Reported in: P4.0 (20-Mar-06)
#24336
Paper page: 377
"It's in the file get_links in the component's link subdirectory." -> "It's in the file get_links.rhtml in the component's link subdirectory."--Justin...more...
  • Reported in: P3.0 (05-Dec-05)
#23819
PDF page: 380
Note page# is acrobat reader page# - number in header is 380 The Observer code in this section does not work. To cut a long story short the paramet...more...
  • Reported in: P4.0 (06-Apr-06)
#24414
PDF page: 380
Unfortunately, this could be user error, but I copied and pasted the code samples directly from your site. When I buit the AJAX guessing game, the ...more...
  • Reported in: P4.0 (24-Mar-06)
#24377
PDF page: 386

this would be not be a big deal

this would not be a big deal--Robin Bhattacharyya

  • Reported in: P6.0 (28-Jan-07)
#26895
PDF page: 387

"... in real life it might remove a remove from a database table" should probably be "... in real life it might remove a row from a database table"

  • Reported in: P1.0 (12-Dec-05)
#23839
Paper page: 391
The AJAX example using form_remote_tag() on pages 391-392 doesn't work. I downloaded the code directly from the website and tried it on Windows XP SP...more...
  • Reported in: P4.0 (09-Jan-06)
#23931
PDF page: 392
If you download File 202 (update_many.rhtml), be aware that this file is actually generating Javascript, not HTML; therefore, the embedded HTML commen...more...
  • Reported in: P4.0 (12-Feb-06)
#24113
PDF page: 393

It uses a trvial partial template for each line.

"trivial"

  • Reported in: P4.0 (12-Feb-06)
#24114
PDF page: 394

"We’ll put these in a <script> section in our page header, but the header is defined this the page template." -- grammatical typo

  • Reported in: P6.0 (20-Oct-06)
#26319
Paper page: 395
"@phrase = request.raw_post || request.query_string" does not allow me to test the search by entering an URL such as "/controller/search?ruby". query_...more...
  • Reported in: P4.0 (12-Feb-06)
#24115
PDF page: 397

"If you want _to_ different actions depending on whether JavaScript is enabled..." --> "two"

  • Reported in: P4.0 (24-Mar-06)
#24378
PDF page: 398
Paper page: 410

Under Web V2.1 heading: Need a comma after "(à l Google Suggest)".--Carol Deihl

  • Reported in: P1.0 (12-Jan-06)
#23941
Paper page: 404
Fading out the random three elements does not work with the File 202 (update_many.rhtml) as downloaded. Nothing happens until you remove the comments ...more...
  • Reported in: P3.0 (01-Nov-06)
#26459
Paper page: 415
OK this might just be my misunderstanding... but the @body hash is described as the vehicle for passing values to the template, however the example te...more...
  • Reported in: P2.0 (08-Apr-06)
#24426
Paper page: 415
The section on E-mail templates calling partials is ok if the partial is in the same directory as the template. But what if the partial is in another ...more...
  • Reported in: P2.0 (08-Apr-06)
#24425
Paper page: 417
The section on Delivering HTML-Format E-mail is too brief. There needs to be a discussion of using a layout for the email and when and where the layo...more...
  • Reported in: P4.0 (20-Feb-06)
#24156
Paper page: 425
The chapter on web services seems like notes. It would be better if there were a few more examples of less trivial situations. I'd like to see an exam...more...
  • Reported in: P4.0 (20-Feb-06)
#24157
Paper page: 436
The two sections on external clients are confusing. Why are the endpoints listed in the XML-RPC section when they also apply to SOAP. I know there is ...more...
  • Reported in: P3.0 (25-Oct-06)
#26390
Paper page: 437
"For delegated and layered dispatching, the information telling us which service object teh invocation should be routed to is embedded in the request....more...
  • Reported in: P4.0 (29-Jan-06)
#23999
PDF page: 438

The "File Uploads" bookmark incorrectly points to the page previous to the actul "File Uploads" section.--Robert Stuttaford

  • Reported in: P2.0 (23-Feb-06)
#24185
Paper page: 440

How do you quote SQL in the :order parameter? I tried :order => ["? ASC", order_by], but the ?s weren't expanded.--Justin Johnson

  • Reported in: P4.0 (06-Mar-06)
#24240
PDF page: 451
Sorry, my fault I should have you reported this but when I saw it the first time. But I wasn't used to report bugs to the publisher directly. ----s...more...
  • Reported in: P2.0 (10-Mar-06)
#24275
Paper page: 457
For your next edition: Lighttpd is now available for Windows and configuration details for that platform would be very useful. I have tried to use the...more...
  • Reported in: P1.0 (08-Jun-06)
#25206
Paper page: 464
Found a solution to this on a message board (http://threebit.net/mail-archive/rails/msg00948.html). Seems the solution is to use ::ActionController::U...more...
  • Reported in: P3.0 (13-Jan-06)
#23943
Paper page: 464
I don't know if this is a problem with Rails 1.0, Ruby 1.8.4, or something else entirely, but I could not get the rescue_action_in_public to load prop...more...
  • Reported in: P4.0 (07-Mar-06)
#24247
Paper page: 464
I have the same error generated from page 464 of the P3.0 September printing - as Jim Elliot (#2298) suggests 'unitialized constant' "ActionUnknown" b...more...
  • Reported in: P4.0 (25-Apr-06)
#24525
Paper page: 474
"Creating the log files slows down the rendering of the action quite a lot on most machines" Really? If so, perhaps you could talk about how to tu...more...
  • Reported in: P1.0 (20-Jul-07)
#29343
PDF page: 477

animals = %w( ant bee cat dog elk )

should be...
animals = %w{ ant bee cat dog elk }--tim

  • Reported in: P4.0 (13-Apr-06)
#24481
PDF page: 477
"put the start of the block at the end of the source line containing the method call." This is ambiguous; what if I have a method call, a whole bun...more...
  • Reported in: P2.0 (03-Dec-06)
#26707
Paper page: 487
"[...], sharing the modules functionality without using inheritance." should be: "[...], sharing the module's functionality without using inhe...more...
  • Reported in: P3.0 (23-Mar-06)
#24365
Paper page: 515
The following line drove me nuts... <div class="seperator">&nbsp</div> ... as it kept on producing a questionmark(?) in the view. I thus removed t...more...
  • Reported in: P4.0 (10-Apr-06)
#24433
PDF page: 517
Could the Index get its own entry in the outline view (Preview's 'drawer')? It always takes a couple brain cycles to remember to go to Appendices->Re...more...
  • Reported in: P4.0 (07-Mar-06)
#24241
Paper page: 527
Page 527 (Appendix C.3 Cross-Reference of Code Samples): Text states: "If a source sample has a marginal note containing a number, you can look tha...more...
  • Reported in: P2.0 (16-Dec-07)
#30015
PDF page: 910faauyff
Paper page: 8mx2hvufgn

5w69cgk6 xo5wz0aey wfj22eyi--7kkmix6ro3

Stuff To Be Considered in the Next Edition

  • Reported in: P1.0 (09-Dec-05)
#23826
Paper page: ii
Please put a list of Rails reserved words inside the front/back cover. Maybe with a footnote to never use them as column headings in your tables. ...more...
  • Reported in: P2.0 (03-Nov-05)
#23512
Paper page: 1

For the next version a few plug-in examples would be nice

  • Reported in: P1.0 (27-Jul-05)
#23137
PDF page: 6
Under "Rails Versions", both "Rails V1.0" and "Rails 1.0" are referred to. I think the "V" is unnecessary, so standardising on "Rails 1.0" would be be...more...
  • Reported in: P3.1 (09-Dec-05)
#23824
PDF page: 20
Linux Redhat FC4, doesn't install what you expect when you install ruby via YUM. To get a more complete ruby install type: <code>yum -y install ru...more...
  • Reported in: P4.0 (16-Feb-06)
#24138
PDF page: 40
Re: Hashes and Parameter Lists I'm new to Ruby, but have read page 474 on Arrays & Hashes - it made sense, apart form the last part on Hashes and P...more...
  • Reported in: P4.0 (26-Dec-05)
#23882
PDF page: 51
Having the table definition using the equivalent Active Record Migrations definition would be nice. In this example I've substituted float for decima...more...
  • Reported in: P3.1 (09-Dec-05)
#23825
PDF page: 52
For P53 to work on Fedora Linux FC4, it appears one has to install the mysql gem. Unfortunately that won't build unless you have previously installed...more...
  • Reported in: P3.0 (05-Dec-05)
#23818
Paper page: 53
Running OS X 10.4.3 and following all the directions in this chapter, I get to the place where I'm generating the scaffold and nothing works correctly...more...
  • Reported in: P3.1 (13-Dec-05)
#23842
PDF page: 53
On OSX Tiger (10.4.3) - Ruby 1.8.2 - Rails 1.0.0 - MySql 5.0 I was blocked using this command: ruby script/generate scaffold Product Admin bl...more...
  • Reported in: P1.0 (31-Jul-05)
#23149
PDF page: 53
Regarding the /tmp/mysql.sock problem mentioned above. I had the same problem running on Fedora Core 4, there was no mysql.sock in /tmp. I overcame...more...
  • Reported in: P3.0 (26-Oct-05)
#23479
PDF page: 53
This is a follow-up to my post of earlier this morning. I don't know whether it's definitive, but I've found a solution that works for me: http://w...more...
  • Reported in: P2.0 (16-Sep-05)
#23251
PDF page: 53

On Mac OS X I was getting the error "Access denied for user --Lyle Vogtmann

  • Reported in: P3.0 (27-Nov-05)
#23795
PDF page: 53
This not so much a new erratum as a request that erratum #1073 on page 53 of the PDF file be explained in more detail than it currently appears. This ...more...
  • Reported in: P2.0 (25-Oct-05)
#23459
Paper page: 54
Now that MySql 5.0 is "generally available", novices to MySQL may encounter an ERROR 42000: Can't find any matching row in the user table. This is be...more...
  • Reported in: P1.0 (17-Jul-05)
#23111
PDF page: 62
The suggested image url is relative /images/sk_auto_small.jpg but the validation requires a full url starting with http. (Dave says: I'm going to ...more...
  • Reported in: P2.0 (10-Nov-05)
#23540
Paper page: 64
This is the first mention of validation that I saw in the book. I'm experimenting with a database containing constraints and the question that came t...more...
  • Reported in: P4.0 (30-Dec-05)
#23892
PDF page: 67
The hyperlink to click back to page 56 goes to page 54. The reference to material on page 56 is correct, just the location the link moves you to is i...more...
  • Reported in: P4.0 (11-Feb-06)
#24112
Paper page: 68
Another problem with web development is keeping HTML formating separated from its content. (The idealization of this concept is the 'semantic web'.) ...more...
  • Reported in: P2.0 (24-Dec-05)
#23880
Paper page: 75
In task A, class names in HTML are in CamelCase, like ListLine, ListTitle (p. 69). In task B, class names in HTML are in lower case, like catalogentr...more...
  • Reported in: P4.0 (31-Dec-05)
#23902
PDF page: 76
The equivalent Active Record Migrations definition of line_items table: class CreateLineItemsTable < ActiveRecord::Migration def self.up cr...more...
  • Reported in: P4.0 (31-Dec-05)
#23895
PDF page: 77
Since mysql 4.0, InnoDB has become the default storage engine, and it supports foreign key. This seems to make footnote 1 on this page unnecessary. ...more...
  • Reported in: P2.0 (18-Oct-05)
#23394
Paper page: 96
in the action add_to_cart we have a rescue that states in the logger.error "Attempt to access invalid product #{params[:id]}" ...thats not neccessari...more...
  • Reported in: P3.0 (02-Jan-06)
#23907
Paper page: 108

Using <%= error_messages_for( :order ) %> in book while the files contain <%= error_messages_for( "order" ) %>--Jon Smirl

  • Reported in: P3.0 (14-Dec-05)
#23847
Paper page: 122
It looks like the pluralize method added to the controller is designed to provide you feedback even if you've checked no items to ship (the when 0 cas...more...
  • Reported in: P2.0 (19-Aug-05)
#23180
PDF page: 122
Paper page: 129

See the last paragraph before the screenshot. Starts with the text "That--Tom Brice

  • Reported in: B1.0 (08-Jul-05)
#23074
PDF page: 126
The sentence that begins "If you are following along, delete your session file..." refers ,I believe, to a technique discussed in footnote 5 on page 8...more...
  • Reported in: P4.0 (30-Dec-05)
#23893
PDF page: 134
Not sure if this is a difference between Rails versions, but in the test_truth method of ProductTest, the book reads "assert_kind_of Product, @product...more...
  • Reported in: P1.0 (05-Oct-05)
#23276
Paper page: 138
The code on page 138 of the book is incorrect redirect_to(jumpto) will not work if jumpto contains nested hashes. For example, if jumpto contains t...more...
  • Reported in: P3.1 (20-Dec-05)
#23868
PDF page: 140
In Rails 1.0 the defaults behaviour for fixtures in tests changed. If you use MySQL without transactions (as you will if you follow the book), the fix...more...
  • Reported in: P3.0 (28-Nov-05)
#23798
PDF page: 140
"Here�s the bottom line: even if a test method updates the test database, the database is put back to its default state before the next test method ...more...
  • Reported in: P2.0 (14-Dec-05)
#23843
Paper page: 146
Further to Mark's suggestion it is probably better to update the test/test_helper.rb file, which is where these values are explicitly set.--Chris Send...more...
  • Reported in: P3.0 (24-Nov-05)
#23789
PDF page: 149
Paper page: 146
When you start calling the test_delete and test_read_with_hash methods the code breaks. In order for the code to work you have to put the following li...more...
  • Reported in: P3.1 (18-Dec-05)
#23858
PDF page: 150
Paper page: 157
I was having problems getting the tests described in chapter 12 to work. Specifically, once i deleted a piece of test data (test_destroy), that piece...more...
  • Reported in: P2.0 (20-Nov-05)
#23577
Paper page: 151
I agree with Richard Jensen's comment, the paragraph beginning "While the use of time is a convenient way of demonstrating a dynamic fixture..." is co...more...
  • Reported in: P1.0 (28-Sep-05)
#23264
Paper page: 173
I run 'rake test_units' as instructed and get an error because the line_item_tests (which we haven't modified) fail. This appears to be due to a forei...more...
  • Reported in: P1.0 (28-Sep-05)
#23265
Paper page: 176
The performance test doesn't run. 1) Error: test_save_bulk_orders(OrderTest): ActiveRecord::StatementInvalid: #23000Cannot delete or update a ...more...
  • Reported in: P3.1 (20-Dec-05)
#23865
PDF page: 185
"See the Active Support RDoc for details." If it has been mentioned anywhere how to do this, I missed it, and so did s search of the PDF for RDoc. Ge...more...
  • Reported in: P3.1 (22-Dec-05)
#23874
PDF page: 191
In Rails 1.0, the Inflector class correctly handles "sheep", so the example that reads " if you have a class named Sheep, it’ll valiantly try to find ...more...
  • Reported in: P3.1 (20-Dec-05)
#23867
PDF page: 216
Could you add sub-sections in Database relationship (or in large chapters in general) so it'll be easier to navigate to a specific sub-chapter in the ...more...
  • Reported in: P2.0 (20-Nov-05)
#23575
Paper page: 259
Love the book, it's somewhat warn now! It would be great if you could include end to end examples of Localization; example: SQL date in the DB, dis...more...
  • Reported in: P4.0 (17-Jan-06)
#23963
PDF page: 300
Minor! "Cookies and Sessions" in the PDF's table of contents points to the bottom of page 300. The section actually begins at the top of page 301.--Gr...more...
  • Reported in: P3.0 (12-Nov-05)
#23548
PDF page: 328
Discussion of templates leaves out the rules for comments. I went nuts for two days trying to find the syntax error when my html comment was perfect...more...
  • Reported in: P1.0 (23-Jul-05)
#23130
PDF page: 352

It would be nice to see a discussion of file uploading that doesn't insert the file into the database in a future version of the book.

  • Reported in: P1.0 (07-Aug-05)
#23165
PDF page: 387
Paper page: 399
The code described as "File 194" has "<% 16.times do |i| ..." which I think is trying to build a 4x4 series of squares, but the diagram on the followi...more...
  • Reported in: B2.0 (26-Jun-05)
#22935
PDF page: 401
Could you guys consider squeezing in some more information about Unicode? It is true that Ruby's support for Unicode is not as mature as, say, Python'...more...
  • Reported in: P1.0 (18-Nov-05)
#23569
Paper page: 551
It would be nice if the RecordNotFound exception was included in the index, as the RecordInvalid exception is. The index entry could refer to the "Rea...more...
  • Reported in: P1.0 (18-Nov-05)
#23570
Paper page: 551

New index entry for RecordNotFound exception could also reference the "Iteration C2: Handling Errors" section starting on page 91.--Stephen Viles