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.

mathurin kasten
3,368 PointsGenerate a Rails Application
So I already had created a statuses page and everything ran fine, but for some reason when I came back to this lesson after a few days, the page no longer works. I recreated the page but all I get is
ROUTING ERROR No route matches [GET] "/statuses"
Help?
1 Answer

Chad Shores
Courses Plus Student 8,868 PointsIn the console, while in your rails app directory, run the command rake routes
If you don't see a route for /statuses
, one has to be created. This is actually pretty easy.
Open up Sublime Text 2 (or your favorite text editor) and open the file config/routes.rb
There should be some boilerplate code and commented examples to help you out. If you are stuck after you try this out, here is some more complete information