Online Deck Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what is the app/ folder

A

Contains the controllers, models, views, helpers, mailers and assets for your application. You’ll focus on this folder for the remainder of this guide.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is the bin/ folder

A

Contains the rails script that starts your app and can contain other scripts you use to setup, deploy or run your application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is the config/ folder

A

Configure your application’s routes, database, and more. This is covered in more detail in Configuring Rails Applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is the config.ru folder

A

Rack configuration for Rack based servers used to start the application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is the db/ folder

A

Contains your current database schema, as well as the database migrations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is the Gemfile Gemfile.lock folder

A

These files allow you to specify what gem dependencies are needed for your Rails application. These files are used by the Bundler gem. For more information about Bundler, see the Bundler website.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is the lib/ folder

A

Extended modules for your application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is the log/ folder

A

Application log files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is the public/ folder

A

The only folder seen by the world as-is. Contains static files and compiled assets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is the Rakefile folder

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is the README.rdoc folder

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is the test/ folder

A

Unit tests, fixtures, and other test apparatus. These are covered in Testing Rails Applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is the tmp/ folder

A

Temporary files (like cache, pid, and session files).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what is the vendor/ folder

A

A place for all third-party code. In a typical Rails application this includes vendored gems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly