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.
David Alejandro856 Points
Did the scaffold do all that?
Wow... how did we create that little form with title and everything? When... what... Did the scaffold do all that?
Tobias Helmrich31,602 Points
Hey there David,
yes, scaffolding is a quick way to get the basic structure of a Rails application. As far as I understand it a scaffold creates everything you need to get started for you like the Model, Views, Controllers and a database migration. However the created application you can see in your browser is more of an example, it just shows you that there is a working CRUD (Create, Read, Update, Delete) structure and it's not more than a starting point. So probably you'll want to start from scratch with the scaffold as a base and not use the site the scaffold created as your own application.
And unfortunately I have to disagree with Jason, while I absolutely agree and recommend that you learn Ruby before Rails (if you haven't done so already) I think that scaffolding itself has nothing to do with the language Ruby but more with the framework Ruby on Rails so I don't think you'll learn what scaffolding is and how it works in the Ruby courses.
I hope that helps!