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 trialEddi Gonzalez
2,174 PointsI got an error when try to open the scaffold on my browser
Generate de Scaffold, migrate the DB and start the server but when try to open the scaffold I got a routing error
No route matches [GET] "/prueba"
Rails.root: C:/Users/Usuario/Desktop/Curso Ruby/Rails/ofg_app Application Trace | Framework Trace | Full Trace
1 Answer
James Nobles
8,884 PointsA scaffold is just a set of files created by running the scaffold command. So you cannot open it in a browser.
That error usually indicates that you need to edit the routes.rb file and add a "route" to /prueba.
Copy/pasting the full instructions or a link to the lesson would be helpful for more details on your issue.
Good luck