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 trialYong Shun Teo
1,179 PointsNo route matches [GET] "/users"
I run rails server in the cmd and my treebook application is fine.
I sign up through the treebook app and that works fine as well.
However when i get to the users page on treebook I get this error msg
No route matches [GET] "/users"
It also says displays list of routes with this specific line that caught my eye
user_registration_path POST /users(.:format) devise/registrations#create
2 Answers
David Moore
13,916 PointsCan you post your routes.rb and users_controller.rb files so we can see whats going on?
Andrew Lincoln
8,880 PointsYong, Great question! You might not have your routes or controllers set up properly. Did you install devise via the terminal after the gemfile install. I know that treehouse has an older version of rails that they teach upon when demonstrating the devise installation. Feel free to post a screenshot of your routes.rb and your users_controller set up properly.
Yong Shun Teo
1,179 PointsHi Andrew yes i installed devise via the terminal.
Here is my routes.rb. Sorry where do i find the user_controller set up?