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.

Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Generate a Scaffold

David Alejandro
David Alejandro
856 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?

2 Answers

Tobias Helmrich
Tobias Helmrich
31,597 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!

jason chan
jason chan
31,005 Points


You better start with this course before you move to ruby on rails. rails is framework. Basically a huge written library that lets you use methods to create an app.