Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Dinesh Vijaykumar9,879 Points
I seem to get this error after changing the statuses.yml file and running the test -
ActionView::Template::Error: undefined method
full_name' for nil:NilClass
test/controllers/statuses_controller_test.rb:29:in `block in <class:StatusesControllerTest>'
one: content: MyText user: din two: content: MyText user: din
din: first_name: "Dinesh" last_name: "Vijaykumar" email: "firstname.lastname@example.org" profile_name: "drdindin"
<p id="notice"><%= notice %></p> <p> <strong>Name:</strong> <%= current_user.full_name %> </p> <p> <strong>Content:</strong> <%= @status.content %> </p> <%= link_to 'Edit', edit_status_path(@status) %> | <%= link_to 'Back', statuses_path %>