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!
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 trial

Richard Luick
10,955 PointsRails - Generate a Scaffold Issue
Hello, everyone. I am having a minor issue with the generating the scaffold part of the ToDo List project in rails. I made a bit of a typo in the command prompt a named the scaffold "to_dp_list" when I was going for "to_do_list". Minor issue, but it is really bothering me. Is there any way to rename the scaffold without re-doing the whole setup portion? Thank you.
1 Answer

Jason Seifer
Treehouse Guest TeacherHey Richard Luick! There's not really an automated way to do that. You'll have to rename the models, controllers, views, routes, and database column. Sorry about that!
Richard Luick
10,955 PointsRichard Luick
10,955 PointsO well... I guess I learned my lesson here. I'll be more careful next time around.