1
0
Fork 0
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:
Oscar Del Ben 2012-06-10 18:26:54 -07:00
parent 50d9781e43
commit 3c025dec4c

View file

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