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! While you're at it, check out some resources Treehouse students have shared here.

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

Ruby

issue with undefined method

i ran into an issue MANY people have faced. basically want to bump this forum since it NEVER got answered correctly even though best answer was selected. i am having the same issues described in this forum:

https://teamtreehouse.com/forum/undefined-method-fullname-for-nilnilclass-2

clearing rails console and user database does NOT solve it, as many people have commented. someone please help as i am stuck. thanks!

4 Answers

I figured out the issue

<strong><%= @status.user.full_name %></strong>

should be:

<strong><%= status.user.full_name %></strong>

hopefully anyone else who has this issue is able to solve it with this solution

Nice job on debugging your own issue.

Jason Seifer please help :(

3636

i'm not sure what this means