Working through the book and running into an error on page 283. (not able to cut & paste in everything as forum is giving me an error about controlling spam by not allowing anyone with under 10 posts to post links or email)

input text from pg 283 to show name of user who submitted story.
Line 18 is the span statement with ...story.user.login

Error:

NoMethodError in Stories#show

Showing where line #18 raised:

You have a nil object when you didn't expect it!
The error occurred while evaluating nil.login

Using Instant Rails 2, Vista, Mongrel, Netbeans 6.5

Thanks,

Veronica