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 almost 6 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.

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
27
#36236: In the new method of invitations_controller.rb, a variable is declared as @from_user_id = facebook_session.user.to_s. This is then referenced...more...
P1.0
01-Dec-08
30

#38991: The "Callback URL" is now part of the Canvas section of Edit Settings and is now called "Canvas Callback URL".--Justin Countiss

P1.0
24-Apr-09
31

#38992: screenshot is out of date.--Justin Countiss

P1.0
24-Apr-09
31

#38993: Post-Add URL has been eliminated from facebook apps. I believe Post-Authorize Redirect URL replaced it.--Justin Countiss

P1.0
24-Apr-09
31
#42485: I couldn't get the samples to work until I checked "Render Method: FBML". The screen shot does show this, but the text doesn't mention making ...more...
P1.0
21-Mar-10
36

#36014: I found it was much easier to install facebooker by installing it from facebooker.rubyforge.org/svn/trunk/facebooker/. No need for git.
--dzengal.com

P1.0
20-Nov-08
38
#36148: The set_current_user method in app/controllers/application.rb needs to be updated to pass in a second facebook_session parameter otherwise the...more...
P1.0
26-Nov-08
39
#34506: Setting up the invitation page, (/app/views/invitations/new.erb) I had to give it an fbml.erb extension instead of just .erb, and then I had t...more...
B8.0
15-Sep-08
39

#41940: You might want to mention deleting public/index.html so the map.root entry will take effect.--Bill Gathen

P1.0
29-Dec-09
44

#36252: <fb:profile-pic uid="<%id%>" /> should be <fb:profile-pic uid"<%user%>" />--Joseph Rork

P1.0
02-Dec-08
53 36
#40954: The book suggests that a 64-bit integer is created with ActiveRecord by applying a :limit =>20 argument. This is incorrect. ActiveRecord use...more...
P1.0
07-Oct-09
54
#38161: The method User#for calls #create_by_facebook_id . However, that method doesn't exist. The method should call #find_or_create_by_facebook_id ....more...
P1.0
04-Mar-09
54
#38164: The book should explicitly state that all before-filters that rely on Facebooker methods and variables must be defined after the call to #ensu...more...
P1.0
04-Mar-09
54
#36021: With Rails 2.1.2, the purpose of :limit has changed when specifying the length of an integer. Instead of doing :limit => 20, it should be :li...more...
P1.0
20-Nov-08
56

#38165: The Facebook Developer Terms of Service URL is now located at developers.facebook.com/terms.php .
--Nick Hoffman

P1.0
04-Mar-09
56
#38166: Rather than say "Facebook allows you to store only the IDs of events, networks, and users." I suggest something along the lines of "F...more...
P1.0
04-Mar-09
58

#39858: # Re-create a Facbooker::Session--Eric Tarn

P1.0
07-Jul-09
59
#39999: In the linked example code for application.rb: self.current_user = User.for(facebook_session.user.to_i, facebook_session) it shows ",fac...more...
P1.0
15-Jul-09
69
#38171: The #hometown method should check that the "location" variable isn't blank/nil before calling "location.city" and "location.state". See pastie...more...
P1.0
04-Mar-09
77

#42088: test_get_new_requires_user example needs "next" attached to login_url as discussed in the forums. Search on test_get_new_requires_user for solutions.--Bill Gathen

P1.0
16-Jan-10
81
#42089: profile_expection has changed slightly. I had to cut and paste the error from the flexmock exception: "<fb:fbml>\n\tI was sent here by <fb:nam...more...
P1.0
16-Jan-10
81
#36237: Refers to 1st paragraph, last sentence: Once we have created the fb_dashboard with the fb_action and fb_help, since we have a Help and Feed...more...
P1.0
01-Dec-08
86
#36149: This is concerning Footnote 6 on installing will_paginate. According to errtheblog.com, installing will_paginate by running script/plugin in...more...
P1.0
26-Nov-08
87
#37202: In both code samples, shouldn't we add attack.save before the create method ends? Otherwise, no attack is saved to the database (and the text ...more...
P1.0
22-Jan-09
88

#38199: On page 88, the options to #form_for are different from what was last discussed, on page 86.--Nick Hoffman

P1.0
05-Mar-09
91
#36150: The generate publisher command has apparently changed: Before: script/generate publisher attack After: script/generate facebook_publis...more...
P1.0
26-Nov-08
94

#38201: The last two code samples call #fb_tab . However, the correct method name is #fb_tabs (IE: plural).
--Nick Hoffman

P1.0
05-Mar-09
98

#42097: FunWall has become FunSpace.--Bill Gathen

P1.0
18-Jan-10
102

#38213: The "will_paginate" plugin is now hosted on GitHub at github.com/mislav/will_paginate/ .
--Nick Hoffman

P1.0
06-Mar-09
107

#42102: Generator has been renamed from publisher to facebook_publisher. Should read "script/generate facebook_publisher attack".

P1.0
19-Jan-10
113
#36238: I found that in the code for new.erb the new_attack_path method needs to be substituted for a new_attack_url method otherwise there will be ro...more...
P1.0
01-Dec-08
114
#36159: Under the fb_request_form method, there is a fb_request_form_submit method. This is not needed as the fb_multi_friend_selector method already...more...
P1.0
28-Nov-08
115
#36209: The line: "Since our partial is for AttackPublisher, I'll put it in app/views/attack_publisher/_profile.erb" initially confused me since the a...more...
P1.0
01-Dec-08
127 128
#35202: You use a method potential_disciples(friend_ids) on page 128, but you never mention defining it in any of the previous sections. it’s also inc...more...
B8.0
13-Oct-08
148
#36311: The select nickname function in Karate Poke doesn't work properly on Firefox. Textbook code for app/views/attacks/index.fbml.erb ... <div...more...
P1.0
05-Dec-08