Skip to content

The app directory

Table of Contents

Because your application lives in the app directory, we will start our voyage of discovery there. Issue a cd into the app directory and ls the contents. You will see something like:

assets
channels
controllers
helpers
javascript
jobs
mailers
models
views

assets

The assets directory contains, as you might expect, the application assets, such as style sheets and images. In previous Rails releases, JavaScript files used to live there as well, but they were moved to the javascript folder.

channels

controllers

helpers

javascript

jobs

mailers

models

views