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