Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Michael Ballentine
Michael Ballentine
9,807 Points

Little trouble with Devise

I'm on "Generating the User Model" in the Ruby on Rails series,

Programming > Build a Simple Ruby on Rails Application > Creating an Authentication System > Generating the User Model @ 5:35

and I'm trying to navigate to /users/sign_up,

but I get this error:

Routing Error
No route matches [GET] "/statuses/users/sign_up"

I followed the set up exactly, and everything has been good up until this final step, I went back and checked all the set up files to make sure I saved everything etc..hrmff

Michael Ballentine
Michael Ballentine
9,807 Points

Okay, I figured it out. On Windows..not sure about Mac, you can't access it if you're using

you have to use localhost:3000/users/sign_up

Hope this helps anyone else who enjoys this error


Hi Michael,

I didn't come across this error on Windows. Which rails server are you running?

I'm running Rails 3.2 and all seems fine on and localhost:3000. If you are interested in finding out what is causing that behaviour, I'd suggest the following 1) Run your rails server with a binding to . e.g. rails server -b -p 3000 This should force it to be accessible locally only.

2) You may have something in your Windows HOST file that is conflicting when resolving the "localhost" name.

Just some suggestions I'm throwing out there. Let us know if you find out what is preventing you from using localhost.

Regards, Steven

1 Answer

Okay, I figured it out. On Windows..not sure about Mac, you can't access it if you're using

I think you just had a typo in your URL: is the localhost IP Address.