diff options
author | Oscar Del Ben <oscar@oscardelben.com> | 2012-06-10 18:26:54 -0700 |
---|---|---|
committer | Oscar Del Ben <oscar@oscardelben.com> | 2012-06-10 18:26:54 -0700 |
commit | 3c025dec4cb756e84f526f1a1a6bf1370608f78e (patch) | |
tree | c3633f7e9974392e1512d5e45ee05eee4b321b18 /guides/source | |
parent | 50d9781e435e64b56afb414abb1cd6073f3fd9d6 (diff) | |
download | rails-3c025dec4cb756e84f526f1a1a6bf1370608f78e.tar.gz rails-3c025dec4cb756e84f526f1a1a6bf1370608f78e.tar.bz2 rails-3c025dec4cb756e84f526f1a1a6bf1370608f78e.zip |
Add config/application to initialization guide
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/initialization.textile | 9 |
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 |