aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/initialization.textile
diff options
context:
space:
mode:
authorAndrew Olson <anolson@gmail.com>2011-09-02 12:02:14 -0400
committerAndrew Olson <anolson@gmail.com>2011-09-02 12:02:14 -0400
commit57847fbfaf284d014274af6e6e70840472c43989 (patch)
tree7510c2159854f84da60ae70a39ccd2fbd4714328 /railties/guides/source/initialization.textile
parent3a7c16dbb9c1a4ea96c516c0a9f9ce5d34cee49a (diff)
parentd20281add192e5afba66e555ce67cf73943b033b (diff)
downloadrails-57847fbfaf284d014274af6e6e70840472c43989.tar.gz
rails-57847fbfaf284d014274af6e6e70840472c43989.tar.bz2
rails-57847fbfaf284d014274af6e6e70840472c43989.zip
Merge branch 'fix_validation_errors'
Diffstat (limited to 'railties/guides/source/initialization.textile')
-rw-r--r--railties/guides/source/initialization.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/initialization.textile b/railties/guides/source/initialization.textile
index 8aabc3ae91..3804f5e81f 100644
--- a/railties/guides/source/initialization.textile
+++ b/railties/guides/source/initialization.textile
@@ -676,11 +676,11 @@ h4. Back to +railties/lib/rails/railtie.rb+
Once the inflector files have been loaded, the +Rails::Railtie+ class is defined. This class includes a module called +Initializable+, which is actually +Rails::Initializable+. This module includes the +initializer+ method which is used later on for setting up initializers, amongst other methods.
-h4. +railties/lib/rails/initializable.rb+
+h4(#railties-lib-rails-initializable-rb-1). +railties/lib/rails/initializable.rb+
When the module from this file (+Rails::Initializable+) is included, it extends the class it's included into with the +ClassMethods+ module inside of it. This module defines the +initializer+ method which is used to define initializers throughout all of the railties. This file completes the loading of +railties/lib/rails/railtie.rb+. Now we go back to +rails/engine.rb+.
-h4. +railties/lib/rails/engine.rb+
+h4(#railties-lib-rails-engine-rb-1). +railties/lib/rails/engine.rb+
The next file required in +rails/engine.rb+ is +active_support/core_ext/module/delegation+ which is documented in the "Active Support Core Extensions Guide":http://guides.rubyonrails.org/active_support_core_extensions.html#method-delegation.