Rails Folders Flashcards
<p>
| app/</p>
<p>
| Contains the controllers, models, views and assets for your application. </p>
<p>
| config/</p>
<p>
| Configure your application’s runtime rules, routes, database, and more. </p>
<p>
| config.ru</p>
<p>
| Rack configuration for Rack based servers used to start the application.</p>
<p>
| db/</p>
<p>
| Contains your current database schema, as well as the database migrations.</p>
<p>
| doc/</p>
<p>
| In-depth documentation for your application.</p>
<p>
Gemfile<br></br>
Gemfile.lock</p>
<p>
| These files allow you to specify what gem dependencies are needed for your Rails application.</p>
<p>
| lib/</p>
<p>
| Extended modules for your application.</p>
<p>
| log/</p>
<p>
| Application log files.</p>
<p>
| public/ </p>
<p>
| The only folder seen to the world as-is. Contains the static files and compiled assets.</p>
<p>
| Rakefile</p>
<p>
This file locates and loads tasks that can be run from the command line. The task definitions are defined throughout the components of Rails. Rather than changing Rakefile, you should add your own tasks by adding files to the lib/tasks directory of your application.</p>
<p>
| README.rdoc</p>
<p>
This is a brief instruction manual for your application. You should edit this file to tell others what your application does, how to set it up, and so on.</p>
<p>
| script/</p>
<p>
Contains the rails script that starts your app and can contain other scripts you use to deploy or run your application.<br></br>
</p>
<p>
| test/</p>
<p>
Unit tests, fixtures, and other test apparatus.<br></br>
</p>
<p>
| tmp/</p>
<p>
| Temporary files</p>
<p>
| vendor/</p>
<p>
<span>A place for all third-party code. In a typical Rails application, this includes Ruby Gems, the Rails source code (if you optionally install it into your project) and plugins containing additional prepackaged functionality.</span></p>