diff options
author | Oscar Del Ben <info@oscardelben.com> | 2012-06-09 12:26:17 -0700 |
---|---|---|
committer | Oscar Del Ben <info@oscardelben.com> | 2012-06-09 12:26:17 -0700 |
commit | 661fe76d5e6d61f997ba06ca236c6676d4813edd (patch) | |
tree | 06cbaae4a4a63937817627ac876beb0ef7b75dff /guides | |
parent | 2f6e8099e3cfd025fdca7a13162a5b2087da6db7 (diff) | |
download | rails-661fe76d5e6d61f997ba06ca236c6676d4813edd.tar.gz rails-661fe76d5e6d61f997ba06ca236c6676d4813edd.tar.bz2 rails-661fe76d5e6d61f997ba06ca236c6676d4813edd.zip |
Add files required by action_dispatch
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/initialization.textile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/guides/source/initialization.textile b/guides/source/initialization.textile index 2699ffccda..8920859675 100644 --- a/guides/source/initialization.textile +++ b/guides/source/initialization.textile @@ -235,11 +235,23 @@ module Rails class Server < ::Rack::Server </ruby> -`fileutils` and `optparse` are standard Ruby libraries which provide helper functions for working with files and parsing options. ++fileutils+ and +optparse+ are standard Ruby libraries which provide helper functions for working with files and parsing options. h4. +actionpack/lib/action_dispatch.rb+ -Action Dispatch is the routing component of the Rails framework. It depends on Active Support, +actionpack/lib/action_pack.rb+ and +Rack+ being available. The first thing required here is +active_support+. +Action Dispatch is the routing component of the Rails framework. This file begins by requiring several other files: + +<ruby> +require 'active_support' +require 'active_support/dependencies/autoload' +require 'active_support/core_ext/module/attribute_accessors' + +require 'action_pack' +require 'active_model' +require 'rack' +</ruby> + +The first thing required here is +active_support+. h4. +activesupport/lib/active_support.rb+ |