aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/initialization.textile
diff options
context:
space:
mode:
authorOscar Del Ben <info@oscardelben.com>2012-06-13 08:34:48 -0700
committerOscar Del Ben <info@oscardelben.com>2012-06-13 08:34:48 -0700
commit81fd371f138b92f4783ecd42ff0d656715ed118d (patch)
treea53aea9c92439c979f3ccc1e21d4530acf7c8a76 /guides/source/initialization.textile
parent5dd4358f1d1ef6658193065166fa64cb384a0bb8 (diff)
downloadrails-81fd371f138b92f4783ecd42ff0d656715ed118d.tar.gz
rails-81fd371f138b92f4783ecd42ff0d656715ed118d.tar.bz2
rails-81fd371f138b92f4783ecd42ff0d656715ed118d.zip
Close explanation of config/environment
Diffstat (limited to 'guides/source/initialization.textile')
-rw-r--r--guides/source/initialization.textile8
1 files changed, 8 insertions, 0 deletions
diff --git a/guides/source/initialization.textile b/guides/source/initialization.textile
index a43ab9bd58..7d78f0a94c 100644
--- a/guides/source/initialization.textile
+++ b/guides/source/initialization.textile
@@ -539,3 +539,11 @@ explore them on your own.
For now, just keep in mind that common functionality like Rails engines,
I18n and Rails configuration is all bein defined here.
+
+h4. Back to +config/environment.rb+
+
+When +config/application.rb+ has finished loading Rails, and defined
+your application namespace, you go back to +config/environment.rb+,
+where your application is initialized. For example, if you application was called
++Blog+, here you would find +Blog::Application.initialize!+, which is
+defined in +rails/application.rb+