Sitepoint Ruby Book
Just a question relating to the Ruby on Rails book from Sitepoint, I appear to be getting an error telling me that
@story.user.login is nil.
However, when I run it in the console, story.user.login has a value stored in in and returns it correctly.
It just seems to be the login it is complaining about being equal to 0, anyone have the same problem?
Can you post controller code + the code that generates this error + what you typed into the console?