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
Ralph bolo6,341 Points
Programming-->Build a simple Ruby on Rails Application --> Customizing Forms ---> Getting the Lastest changes
SO im a getting this error when i try to to click "Post a new status" can someone please help me my gitub is bolonomicz
this is my error NoMethodError in Statuses#new
Showing /Users/Ralph/projects/treebook/app/views/statuses/_form.html.erb where line #16 raised:
undefined method `name' for #<Status:0x00000102d13f00> 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
Application Trace | Framework Trace | Full Trace app/views/statuses/form.html.erb:16:in `block in _app_views_statusesform_html_erb964089860934061121_2152862380' app/views/statuses/_form.html.erb:1:in `_app_views_statusesform_html_erb964089860934061121_2152862380' app/views/statuses/new.html.erb:3:in `_app_views_statuses_new_html_erb_2666061746554621226_2151777580' app/controllers/statuses_controller.rb:29:in `new' Request