#112 new
David Masover

lambda, not lamda

Reported by David Masover | February 6th, 2008 @ 12:42 PM | in Second Edition

Page 217 of my copy. Also exists in the Safari web edition.

Chapter 7, in "The has_many Association", regarding :before_add. The text says:

"One more time, with a lambda..."

However, the actual code sample includes:

:before_add => lamda {raise "You can't add a post"}

A quick check in my irb shows that lambda (with a b) is defined, and lamda isn't.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket