-
SitePoint Enthusiast
Sitepoint Ruby Book
Hey all,
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?
Cheers
-
Can you post controller code + the code that generates this error + what you typed into the console?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks