You've seen how to create a Rails resource using a scaffold. But scaffolds don't offer flexibility in how a resource is set up. Let's create a resource totally by hand to see how it's put together. Along the way, we'll learn another important component of Rails: routes.
What you'll learn
Resident Ruby teacher for Treehouse. Rubyist since 2007. Author of Head First Ruby, a tutorial book on the core Ruby language.
You need to sign up for Treehouse in order to download course videos.