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
Justinas Vaiciulis
6,944 PointsNoMethodError in Statuses#new in Ruby "Creating an Authentication system"
Hello guys,
So I was successfully going through Ruby on Rails tutorial and after creating the authentication system with devise I run into a little problem: I get this NoMethodError in Statuses#new error which says "undefined method `name' for #<Status:0x4952da8>" when I try to post a new status.
I don't really understand this. This is how it looks on my machine: 1st step: https://www.dropbox.com/sh/htwh1dvqen3lbq3/vbUQIPGhnz#f:1st%20step.png and then the error: https://www.dropbox.com/sh/htwh1dvqen3lbq3/8jZiBPVJNN/2nd%20step%20Action%20Controller-%20Exception%20caught.png
The biggest issue is that I am not sure at which step the problem occurred
1 Answer
Justinas Vaiciulis
6,944 PointsApparently this was an expected problem and it was sorted out later on in the tutorial :)