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 trialCarlos Reyes
30,056 PointsThis worked for me
I was stuck at min 5:56, when refreshing the page I couldn't see the name. Then I deleted all the the previous posts just like the video. I went to rails console, run User.count and checked the id assigned there. Used that id, 3 in my case, to create a new post, and voilá the name was there after refreshing. That was the id of the user I had logged in.
No need to do all the suggestions about stron_params, etc.