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

Shur Jyun Lur
3,411 PointsRuby on Rails - Customizing Forms
Hello, I am having some trouble with this particular badge. I am getting an error message that I cannot figure out.
When I start the rails server and type: .../users/sign_up, I get the following error message:
Routing Error. No route matches [GET] "/" Try running rake routes for more information on available routes.
I have tried running rake routes, but am not sure what to do with the list provided to me.
I am using Cloud9.
1 Answer

Shur Jyun Lur
3,411 PointsUpdate: I re-watched the Creating Relationships video, and made some changes to match my code with theirs. I now get the following error when starting my rails server and accessing my server with .../statuses
NoMethodError in Statuses#index
Showing /var/lib/stickshift/514cf4ba50044611750000f2/app-root/data/449629/tree1/app/views/statuses/index.html.erb where line #9 raised:
undefined method `full_name' for nil:NilClass Extracted source (around line #9):
6: <br /> 7: <% @statuses.each do |status| %> 8: <div class="status"> 9: <strong><%= status.user.full_name %></strong> 10: <p><%= status.content %></p> 11: <div class="meta"> 12: <%= link_to time_ago_in_words(status.created_at)+" ago",status %> Rails.root: /var/lib/stickshift/514cf4ba50044611750000f2/app-root/data/449629/tree1
Application Trace | Framework Trace | Full Trace
app/views/statuses/index.html.erb:9:in block in _app_views_statuses_index_html_erb__3483667258337898476_18147240'
app/views/statuses/index.html.erb:7:in
each'
app/views/statuses/index.html.erb:7:in _app_views_statuses_index_html_erb__3483667258337898476_18147240'
app/controllers/statuses_controller.rb:7:in
index'
Request
Parameters:
None Show session dump
Show env dump
Response
Headers:
None