mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add config/application to initialization guide
This commit is contained in:
parent
50d9781e43
commit
3c025dec4c
1 changed files with 8 additions and 1 deletions
|
@ -348,9 +348,16 @@ able to use to determine how its server should run. After +initialize+
|
|||
has finished, we jump back into +rails/server+ where +APP_PATH+ (which was
|
||||
set earlier) is required.
|
||||
|
||||
h4. +config/application+
|
||||
|
||||
When +require APP_PATH+ is executed, +config/application.rb+ is loaded.
|
||||
This is a file exists in your app and it's free for you to change based
|
||||
on your needs. Among other things, inside this file you load gems with
|
||||
bundler, and create your application namespace.
|
||||
|
||||
h4. +Rails::Server#start+
|
||||
|
||||
This method is defined like this:
|
||||
After +congif/application+ is loaded, +server.start+ is called. This method is defined like this:
|
||||
|
||||
<ruby>
|
||||
def start
|
||||
|
|
Loading…
Reference in a new issue