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

Nano Meko
1,838 PointsRuby Section 4 Error
Hello,
I was about to start section 4 of the ruby on rails course (customizing forms) and I get the following error when I click on create a new status:
oMethodError in Statuses#new
Showing /Users/N/Documents/projects/web/treebook/app/views/statuses/_form.html.erb where line #16 raised:
undefined method `name' for #<Status:0x007feaa6b8ed20> Extracted source (around line #16):
13: 14: <div class="field"> 15: <%= f.label :name %><br /> 16: <%= f.text_field :name %> 17: </div> 18: <div class="field"> 19: <%= f.label :content %><br /> Trace of template inclusion: app/views/statuses/new.html.erb
Rails.root: /Users/N/Documents/projects/web/treebook
3 Answers

Paul Dietrich
4,557 PointsWow... I have the exact same problem!
Before this section, I had absolutely no problems. It was only today, when I started this section, that I noticed I was receiving a strange error whenever I tried to make a new post on localhost:3000.

Julien Gascard
12,818 PointsHi guys,
Don't worry about that, keep watching and you'll get your answers. You've completely crashed your app during the previous video, and you'll fix it in the next one :D.

Paul Dietrich
4,557 PointsThanks for the post. Hope it works!