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

Ruby

Treebook Sign Up page Error message

Hi,

I'm on Windows and the version of Ruby is 1.9.3. I can access the Treebook statuses page fine, but when trying to go to the newly created sign up page at 127.0.0.1:3000/statuses/sign_up page I get this error message.

ActiveRecord::RecordNotFound in StatusesController#show Couldn't find Status with id=sign_up

Rails.root: C:/Users/RockyRoad/Desktop/Austin/practice/Project/treebook

Application Trace | Framework Trace | Full Trace app/controllers/statuses_controller.rb:16:in `show'

Request Parameters: {"id"=>"sign_up"}

1 Answer

The sign_up page is not in the statuses controller -- you're triggering the #show action by calling /show/something_that_rails_thinks_is_an_id

Shouldn't it be 127.0.0.1/sign_up?

You were right, I was mistyping the address, the inside tag changes from statuses to users. Thank you. 127.0.0.1:3000/users/sign_up