By Developers, For Developers
| PDF Pg | Paper Pg | Type | Description | Fixed on | Comments |
|---|---|---|---|---|---|
| 106 | TYPO | I currently read the book and found some typos I’d like to share. Mostly added the page and faulty sentence parts first followed by a possible correction. Page 106: 6.6 Creating New Meetings Page 124: .. This technique helps us highlight the the correct navigation … Page 132: 7.3 Testing Your Models Page 141: Building The Registration Form Page 148: If they a user has not been Page 154: 8.4 Restoring Sessions Page 162: There are some important parts still missing from our application Page 168: Adding tests for for our presentation association … Page 180: We obviously need need … Page 181: Rails logs all thee queries to to Page 186: In this case we’re going to direct it over to the the HomepageController. Page 193: This would just negate all the work we’ve gone to hiding these links for from them. Page 200: Joe is super grateful for our help with application Page 217: Converting to an Array Page 223: Nil in Ruby is a little more interesting because it is actually an object just like everything else; Just an object that represents no value. Page 234: Switch statements in Ruby evaluate and return a value as well. Page 243: If we truly wanted to check object type, Ruby objects all have an is_a? … Page 269: Autoloading Objects Page 274: Ruby class methods will are the closes we get to PHP’s static methods… Page 283: In these examples, we have a collection of errors that are added and stored in nested data structure. Page 291: Ruby will will continue execution as long as the object responds to the messages thrown at it. Page 300: … available when working in a action or view. | 2008-01-07 | ||
| 389 | ERROR | The code examples on that page are reversed. | 2008-01-07 | ||
| 1 | SUGGEST | There should be some information about CRUD in rails. Now that topic isn’t even mentioned. | 2008-01-07 | ||
| 19 | TYPO | Under ActionMailer, it should say “This part will” | 2008-01-07 | ||
| 52 | TYPO | just before 2.6, remove duplicated word from “opposite opposite” | 2008-01-07 | ||
| 59 | TYPO | second paragraph under 2.8, “take a look AT some” | 2008-01-07 | ||
| 62 | TYPO | In second paragraph, this should not be a period (colon perhaps?) in the passage “explicitly checked. Once in the” | 2008-01-07 | ||
| 81 | TYPO | {add this} [delete this] First paragraph: “In Ruby this means that we are using objects, {and?} we are only concerned about what {they can?} do, and not the actual type of the object.” Second paragraph: “Since PHP is a dynamic language[, and] we are usually not concerned about the specific type of data being passed around.” | 2008-01-07 | ||
| 84 | TYPO | {add to} [delete from] | 2008-01-07 | ||
| 55 | TYPO | First sentence: Second to last paragraph: | 2008-01-07 | ||
| 67 | TYPO | Second paragraph: Fourth paragraph: | 2008-01-07 | ||
| 71 | TYPO | First bullet point has reversed words: | 2008-01-07 | ||
| 75 | TYPO | First paragraph: and …it makes perfect sense when assigning data to {an} attributes of our object. | 2008-01-07 | ||
| 76 | TYPO | First paragraph: Last paragraph: | 2008-01-07 | ||
| 82 | TYPO | Last paragraph missing word: This once again begins to reach limitations if {we} wanted to pass… | 2008-01-07 | ||
| 86 | TYPO | Second paragraph: | 2008-01-07 | ||
| 91 | TYPO | 3.7 | 2008-01-07 | ||
| 94 | TYPO | Last sentence: | 2008-01-07 | ||
| 102 | TYPO | First paragraph: Second paragraph: | 2008-01-07 | ||
| 103 | TYPO | Third paragraph missing word: | 2008-01-07 | ||
| 119 | TYPO | 4.7 Chapter Review (words out of order) | 2008-01-07 | ||
| 127 | TYPO | First paragraph: | 2008-01-07 | ||
| 136 | TYPO | First paragraph: | 2008-01-07 | ||
| 144 | SUGGEST | 5.8 first example: | 2008-01-07 | ||
| 152 | TYPO | Missing word | 2008-01-07 | ||
| 153 | SUGGEST | It seems you may want to at least mention :only since you’re discussing :except | 2008-01-07 | ||
| 160 | TYPO | 5.13 | 2008-01-07 | ||
| 164 | TYPO | First paragraph: | 2008-01-07 | ||
| 165 | TYPO | 6.2 third paragraph: | 2008-01-07 | ||
| 165 | TYPO | 6.2 last paragraph: | 2008-01-07 | ||
| 166 | TYPO | 6.3 first paragraph: | 2008-01-07 | ||
| 171 | TYPO | Second paragraph: | 2008-01-07 | ||
| 150 | SUGGEST | It would be worth mentioning the purpose of the minus sign (-%>) at the end of the error_messages_for tag. I initially thought it a typo. | 2008-01-07 | ||
| 175 | TYPO | last paragraph: | 2008-01-07 | ||
| 181 | TYPO | Adding the Password Attribute: | 2008-01-07 | ||
| 189 | TYPO | Second Paragraph: | 2008-01-07 | ||
| 195 | TYPO | Third paragraph: | 2008-01-07 | ||
| 195 | TYPO | Third paragraph: | 2008-01-07 | ||
| 197 | TYPO | Last paragraph: | 2008-01-07 | ||
| 204 | TYPO | The belongs_to methods here declare[s] that a presentation object | 2008-01-07 | ||
| 207 | TYPO | Fourth paragraph repeat ‘for’: | 2008-01-07 | ||
| 208 | TYPO | 8.3 second paragraph: | 2008-01-07 | ||
| 212 | TYPO | First full paragraph: | 2008-01-07 | ||
| 217 | TYPO | First sentence missing word: | 2008-01-07 | ||
| 217 | TYPO | First sentence extra word: | 2008-01-07 | ||
| 221 | TYPO | Second to last paragraph. Poorly worded sentence: | 2008-01-07 | ||
| 222 | TYPO | 8.7 second bullet: | 2008-01-07 | ||
| 229 | TYPO | First paragraph. Extra and missing word. | 2008-01-07 | ||
| 233 | TYPO | First paragraph. Entire sentence needs some attention. This would negate all the work we’ve gone to hiding these links for from them. | 2008-01-07 | ||
| 274 | TYPO | First paragraph: | 2008-01-07 | ||
| 278 | TYPO | Associative Arrays and Hashes | 2008-01-07 | ||
| 286 | TYPO | Instance Variables | 2008-01-07 | ||
| 295 | ERROR | 11.5 | 2008-01-07 | ||
| 294 | TYPO | 11.5 Expressions | 2008-01-07 | ||
| 241 | TYPO | If you want to play around more with this application, there {is} [are] plenty more places it can be taken. | 2008-01-07 | ||
| 21 | TYPO | “You’re first instinct” should be “Your first instinct”. | 2008-01-07 | ||
| 61 | TYPO | PHP Exceptions - paragraph 3 | 2008-01-07 | ||
| 68 | TYPO | Paragraph 3 | 2008-01-07 | ||
| 86 | TYPO | Extra “s” at end of paragraph 2 - | 2008-01-07 | ||
| 91 | TYPO | Missing “s” at beginning of paragraph 1. | 2008-01-07 | ||
| 274 | TYPO | Retrieving elements “Accessing elements of an array is nearly identical[ly] in Ruby[,] and PHP{,} and is done by specifying a numeric index in square brackets.” | 2008-01-07 | ||
| 52 | ERROR | In the PHP code, the comments displaying the arrays values should be switched. | |||
| 25 | SUGGEST | May be already addressed, but I suggest recommending an install of Rails 2.0.2 instead of 2.0 RC2 aka v1.99.1, if it’s not too late. (And thank you for writing this book with 2.0 in mind regardless…) | |||
| 68 | TYPO | Double ‘the’ in the second paragraph. “The ampersand (&block) tells Ruby to store this object in the the variable called block.” | |||
| 111 | TYPO | Missing: in the SQL-code. | |||
| 138 | TYPO | Last line should read ““No Meetings” as the tag content" instead of ““New Meeting” as the tag content" | |||
| 156 | ERROR | Links for stylesheet and images in the footer is inaccessible (forbidden). | |||
| 175 | SUGGEST | Maybe explain the AddColumnsToTable / RemoveColumnsFromTable convension? | |||
| 179 | ERROR | “We’ll have to manually add the create method since it does not require a view” - And update and destroy too | |||
| 184 | ERROR | From the console commands: user = User.find(1) This will not work as there is no user in the db yet. | |||
| 69 | TYPO | “enough buzz about Rails to finally peak his interest” should be “enough buzz about Rails to finally pique his interest.” “Peak” => noun; top of something Page number may be inaccurate; I’m reading the sample excerpt. | |||
| 80 | TYPO | in the second paragraph the word “contining” should be “containing” shouldn’t it? | |||
| 82 | TYPO | in the second paragraph | |||
| 99 | TYPO | In the feature list nr. 4 | |||
| 28 | SUGGEST | Would be nice to mention rake db:create instead of of the DB-dependant mysqladmin. | |||
| 33 | TYPO | Second to last paragraph: “In this case, the functionality of our Newsletter class (…)” Should be “… of our Subscriber class…”, no? | |||
| 38 | TYPO | Last paragraph: “We’ve also used a helper method named form_for (…)” It’s form_tag. | |||
| 21 | TYPO | Last sentence in 2nd last para. “We’ll use an method” should be "We’ll use a method. Not a big deal, admittedly, but see also omission on same page. | |||
| 21 | SUGGEST | The code for the class at the bottom of the page could be mistakenly entered into the already open model file. Suggest inclusion of a line of text such as “Let’s open the subscribers_controller.rb file”. The tiny font in the shaded heading is easy to miss. | |||
| 10-11 | SUGGEST | A “work>” prompt appears on page 10, but the cd work command doesn’t appear until page 11 | |||
| 13 | SUGGEST | The shaded folder is shown as getting_started_with_rails/newsletter_1/config/database.yml. Shouldn’t this be work/newsletter/config/database.yml? On later pages, the shaded folder displays newsletter_2 and newsletter_3. Why? | |||
| 123 | TYPO | In Fig. 5.2 in the “View Naming Conventions” box File: app/views/new.html.erb | |||
| 123 | TYPO | Is: reoccurring | |||
| 95 | TYPO | In 3.10 Exercises second line “We already reopened Fixnum to add the odd?” should be “We already reopened Integer to add the odd?” | |||
| 308 | ERROR | I’m new to rails, and just bought the books, but I think this may be wrong: page = 1 The last line should be: end while page < 10 ? | |||
| 231 | ERROR | The code example’s first line at the bottom of page 231 (PDF) looks like this: <% elsif user_owns_record? %> I guess it should be “elseif” instead. | |||
| 152 | ERROR | When I add the line /meeting.rb.2 syntax error: unexpected ‘:’ expecting kEND When I remove the space between the colon and meets_on, the page loads with out errors Gerard | |||
| 52 | TYPO | “It was shows” | |||
| 231 | 223 | ERROR | David Trasbo’s reported error on page 231 of the PDF (223 of the paper version I’m looking at) is wrong. ‘elsif’ is the proper spelling in Ruby (and also in Perl—Larry Wall didn’t like the resulting dipthong either). PHP uses ‘elseif’. If this is still shown and a reader is looking at this errata page they might be misled into thinking that ‘elseif’ is correct for Ruby, and it ain’t so. | ||
| 115 | ERROR | In the figure at the top of the page (F 5.4: The meetings index page) the screen cap shows the file URI as app/views/meetings/index.rhtml However, as the book is supporting 2.0, the URI should be: app/view/meetings/index.html.erb | |||
| 152 | SUGGEST | I had the same error as another reader - was because on the validates_length_of I had missed the : off the :minimum - the book was correct. | |||
| 81 | TYPO | ‘can be a strictly type language’ should read ‘can be a strictly typed language’ | |||
| 129 | TYPO | ‘Lucky for us’ should be ‘Luckily for us’ since the errors luckily display only in the development environment. | |||
| 250 | TYPO | The required Apache module should read “mod_proxy-http,” not “-html.” | |||
| 110 | ERROR | the source code for the self.down() method is missing. | |||
| 123 | TYPO | in the second box of fig. 5.2, the views url should be /app/views/users/new.html.erb | |||
| 130 | ERROR | If the “()” are left on the CURRENT_TIMESTAMP, ie CURRENT_TIMESTAMP() then rails errors, remove them and it works. Lines 4 and 9 in the code block. | |||
| 167 | ERROR | shouldn’t it be | |||
| 144 | TYPO | In the third paragraph, “public/stylesheeets” should be “public/stylesheets” | |||
| 161 | ERROR | When running the test suite at the end, I get “6 tests, 10 assertions”, not the “6 tests, 9 assertions” shown in the book. The correct could seems to be 10, as there are two asserts in test_should_create_meeting | |||
| 161 | ERROR | (Great, I’m submitting an erratum for my own report, since I can’t edit it.) In #36711 “correct could” should be “correct count”. [Filed as technical so it is categorized with the erratum it is correcting.] | |||
| 40 | TYPO | “will be automatically be checked” One too many “be” | |||
| 63 | TYPO | The second to last line seems to be missing an “it”: | |||
| 1 | ERROR | It is appalling that the page numbers for errata are keyed only to PDFs, and are completely different from the version held by paying customers of your printed book. Thanks so much. This will definitely get a mention in my Amazon review. | |||
| 96 | ERROR | self.up in db/migrate/001_create_users.rb has the line t.text :profile, :text This creates a spurious field “text”. It should be t.text :profile | |||
| 156 | SUGGEST | This applies to Chapter 6. The version of Rails I am using as of April 2009 (Rails 2.3.2) uses ActiveSupport::TestCase instead of Test::Unit::TestCase. This only changes the signatures of the test methods; otherwise the examples work as programmed. I had to change the generated require line to match the one in the book before my tests would work. | |||
| 98 | TYPO | [Figure 4.1; row 4] P.S. The book is great! I love it | |||
| 159 | ERROR | I’m looking at the unit test called “test_should_format_date_as_name”. The regular expression /\\w* \\d{1,2}, \\d{1,4}/i is in error. The text ‘March 6, 2010’ will pass that test, even though there are two spaces between March and 6. The reason is that \\w* is zero or more word characters, so the leading “March ” is being ignored. The expression is better written: | |||
| tennysonbl | tennysonbl | SUGGEST | due forcings routes | ||
| ricestedm | ricestedm | SUGGEST | variations cost thermal warms | ||
| 38 | TYPO | form_for should be form_tag |