Permalink
Browse files

Init guide: Segue between rails/version and active_support/railtie re…

…quires
  • Loading branch information...
1 parent 0dd5433 commit 61e6a9f9d45e4c015ad10e44c9cb846ac4bb971f @radar radar committed Dec 28, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 railties/guides/source/initialization.textile
@@ -707,6 +707,8 @@ h4. +railties/lib/rails/version.rb+
Much like +active_support/version+, this file defines the +VERSION+ constant which has a +STRING+ constant on it which returns the current version of Rails.
+Once this file has finished loading we go back to +railties/lib/rails.rb+ which then requires +active_support/railtie.rb+.
+
h4. +activesupport/lib/active_support/railtie.rb+
This file requires +active_support+ and +rails+ which have already been required so these two lines are effectively ignored. The third require in this file is to +active_support/i18n_railtie.rb+.

0 comments on commit 61e6a9f

Please sign in to comment.