RoR: up and running problem in book example

Hey everyone, im a new RoR user and i am running into a glitch at page
41 of the RoR: up and running book photo share example. I am using OSX
10.4, locomotive, and PHPmyadmin through MAMP.

in the book it says to see the model in action.

slide = Slide.find 1

...

slideshow = slide.slideshow

...

slideshow.slides.each {|slide| puts slide.photo.filename}

when i enter in the last line slideshow.slides.each {|slide| puts
slide.photo.filename} I get the following:

NoMethodError: undefined method `slides' for #<Slideshow:0x2427cac>
        from
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1792:in
`method_missing'
        from
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/associations/association_proxy.rb:110:in
`method_missing'
        from (irb):11

but i have followed the book really closely. any help as to what i am
missing or may have forgot? Everything else had worked up till now.

my bad, i forgot to rake migrate after i changed the code.