aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2010-12-15 16:59:49 +1000
committerRyan Bigg <radarlistener@gmail.com>2010-12-17 16:24:47 +1000
commit225f95237be713b50bce790eae8b6e511080b744 (patch)
treeb686487f9e6b16954000c762841079d9525c6550 /railties/guides
parent5e0daa0bce83cb01c3db43f2fbcd3d16b14f6eb3 (diff)
downloadrails-225f95237be713b50bce790eae8b6e511080b744.tar.gz
rails-225f95237be713b50bce790eae8b6e511080b744.tar.bz2
rails-225f95237be713b50bce790eae8b6e511080b744.zip
init guide: Cover beginnings of rails/application.rb
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/initialization.textile11
1 files changed, 11 insertions, 0 deletions
diff --git a/railties/guides/source/initialization.textile b/railties/guides/source/initialization.textile
index f42a40e593..9b879fe67e 100644
--- a/railties/guides/source/initialization.textile
+++ b/railties/guides/source/initialization.textile
@@ -510,6 +510,17 @@ The next file that is required is another Active Support core extension, this ti
For more information see the "Extensions to Logger":http://guides.rubyonrails.org/active_support_core_extensions.html#extensions-to-logger section from the Active Support Core Extensions Guide.
+h4. +railties/lib/rails/application.rb+
+
+The next file required by +railties/lib/rails.rb+ is +application.rb+. This file defines the +Rails::Application+ constant which the application's class defined in +config/application.rb+ in a standard Rails application depends on. Before the +Rails::Application+ class is defined however, there's some other files that get required first.
+
+The first of these is +active_support/core_ext/hash/reverse_merge+ which can be "read about in the Active Support Core Extensions guide":http://guides.rubyonrails.org/active_support_core_extensions.html#merging under the "Merging" section.
+
+h4. +active_support/file_update_checker.rb+
+
+The +ActiveSupport::FileUpdateChecker+ class defined within this file is responsible for checking if a file has been updated since it was last checked. This is used for monitoring the routes file for changes during development environment runs.
+
+