Class User < ActiveRecord::Base
class Article < ActiveRecord::Base
After a user posts an article, I want to include their username. I
presume I should just be able to use <%= article.user.screen_name %> in
This give me:
You have a nil object when you didn’t expect it!
The error occurred while evaluating nil.screen_name