Rails Folders Flashcards

1
Q

<p>

| app/</p>

A

<p>

| Contains the controllers, models, views and assets for your application. </p>

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

<p>

| config/</p>

A

<p>

| Configure your application&rsquo;s runtime rules, routes, database, and more. </p>

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

<p>

| config.ru</p>

A

<p>

| Rack configuration for Rack based servers used to start the application.</p>

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

<p>

| db/</p>

A

<p>

| Contains your current database schema, as well as the database migrations.</p>

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

<p>

| doc/</p>

A

<p>

| In-depth documentation for your application.</p>

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

<p>
Gemfile<br></br>
Gemfile.lock</p>

A

<p>

| These files allow you to specify what gem dependencies are needed for your Rails application.</p>

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

<p>

| lib/</p>

A

<p>

| Extended modules for your application.</p>

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

<p>

| log/</p>

A

<p>

| Application log files.</p>

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

<p>

| public/ </p>

A

<p>

| The only folder seen to the world as-is. Contains the static files and compiled assets.</p>

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

<p>

| Rakefile</p>

A

<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>

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

<p>

| README.rdoc</p>

A

<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>

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

<p>

| script/</p>

A

<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>

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

<p>

| test/</p>

A

<p>
Unit tests, fixtures, and other test apparatus.<br></br>
</p>

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

<p>

| tmp/</p>

A

<p>

| Temporary files</p>

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

<p>

| vendor/</p>

A

<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>

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