This topic was posted on a few months ago. It seems that others had the problem that I am having. However, no solution has been posted.

I've created the Vote model:
class Vote < ActiveRecord::Base
belongs_to :story

which belongs to the Story model:
class Story < ActiveRecord::Base
validates_presence_of :name, :link
has_many :votes

however in the Rails console, if I try to find the story for a vote entry, I get:
>> v.story
NoMethodError: undefined method `story' for #<Vote:0x2826730>
from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/base.rb:1863:in `method_missing'
from (irb):14
from :0

I've been following the book basically word-for-word and I can't figure out why I keep getting this error.

Thanks in advance, Roseanne