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 trialDavid Forero
5,492 PointsNo todo_items folder in app/views/ ?
Hello,
I have no todo_items folder in app/views/ but, I do have the todo_list folder. I just realized this in the current video (Viewing Todo Items: Part 1 minute 2.55)
What step did I skip? This must have been added automatically at some step.
Thank you
1 Answer
Maciej Czuchnowski
36,441 PointsThe controller generator at the very beginning of this video created the folder and basic index view file for todo_items.
David Forero
5,492 PointsDavid Forero
5,492 PointsI ran the
bin/rails generate controller todo_items index -p
command again and the folder was not created either.Maciej Czuchnowski
36,441 PointsMaciej Czuchnowski
36,441 Pointsthe
-p
means "pretend" - it only tells you what it is planning to do. So you have to run it again, without -p this time. Just like Jason did.David Forero
5,492 PointsDavid Forero
5,492 PointsThank you Maciej!