From 61e6a9f9d45e4c015ad10e44c9cb846ac4bb971f Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Tue, 28 Dec 2010 14:19:05 +1000 Subject: Init guide: Segue between rails/version and active_support/railtie requires --- railties/guides/source/initialization.textile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/railties/guides/source/initialization.textile b/railties/guides/source/initialization.textile index 10937626af..868db6d33b 100644 --- a/railties/guides/source/initialization.textile +++ b/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+. -- cgit v1.2.3