diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-12-28 14:19:05 +1000 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-12-28 14:19:05 +1000 |
commit | 61e6a9f9d45e4c015ad10e44c9cb846ac4bb971f (patch) | |
tree | d5fecc90bef42f22195093714e02668270904eae /railties | |
parent | 0dd5433b98afb0411449a4fd45dd0f918126c4ec (diff) | |
download | rails-61e6a9f9d45e4c015ad10e44c9cb846ac4bb971f.tar.gz rails-61e6a9f9d45e4c015ad10e44c9cb846ac4bb971f.tar.bz2 rails-61e6a9f9d45e4c015ad10e44c9cb846ac4bb971f.zip |
Init guide: Segue between rails/version and active_support/railtie requires
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/initialization.textile | 2 |
1 files changed, 2 insertions, 0 deletions
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+. |