I've been trying to figure out why @story.user would be nil, but I'm afraid I get a bit lost in the app.
If you check the records in the database, eg.
Code:
>ruby script/console
Loading development environment (Rails 2.1.0)
>> s = Story.find(:all)
=> [#<Story id: 1,
name: "My shiny weblog",
link: "http://poocs.net/",
created_at: "2008-08-30 13:31:03",
updated_at: "2008-08-31 15:46:04",
user_id: 1>,
#<Story id: 2,
name: "SitePoint Forums",
link: "http://www.sitepoint.com/forums/",
created_at: "2008-08-30 13:34:04",
updated_at: "2008-08-31 15:46:39",
user_id: 1>]
Each Story has an id and a user_id?
Bookmarks