From 3c025dec4cb756e84f526f1a1a6bf1370608f78e Mon Sep 17 00:00:00 2001 From: Oscar Del Ben Date: Sun, 10 Jun 2012 18:26:54 -0700 Subject: [PATCH] Add config/application to initialization guide --- guides/source/initialization.textile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/guides/source/initialization.textile b/guides/source/initialization.textile index 319354ea79..ec9d3c8052 100644 --- a/guides/source/initialization.textile +++ b/guides/source/initialization.textile @@ -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: def start