aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/initialization.textile
diff options
context:
space:
mode:
authorOscar Del Ben <oscar@oscardelben.com>2012-06-10 18:26:54 -0700
committerOscar Del Ben <oscar@oscardelben.com>2012-06-10 18:26:54 -0700
commit3c025dec4cb756e84f526f1a1a6bf1370608f78e (patch)
treec3633f7e9974392e1512d5e45ee05eee4b321b18 /guides/source/initialization.textile
parent50d9781e435e64b56afb414abb1cd6073f3fd9d6 (diff)
downloadrails-3c025dec4cb756e84f526f1a1a6bf1370608f78e.tar.gz
rails-3c025dec4cb756e84f526f1a1a6bf1370608f78e.tar.bz2
rails-3c025dec4cb756e84f526f1a1a6bf1370608f78e.zip
Add config/application to initialization guide
Diffstat (limited to 'guides/source/initialization.textile')
-rw-r--r--guides/source/initialization.textile9
1 files changed, 8 insertions, 1 deletions
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:
<ruby>
def start