Rake is a utility built into both Ruby and Rails that allows you to do a set of common administration tasks. In this lesson, we are going to see how you can use rake options to manage your database.
Before we go into coding. it's important to know the Rails file system. Here is a broad overview of the directories and folders that you're going to work with in any Ruby on Rails application.
In this lesson we'll walk through the second part of the Rails file system, starting with the db directory.