diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-12-04 15:52:22 +1100 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-12-09 17:54:37 +1000 |
commit | b6eec1decf0a7ba66827fd897f8f01973773092d (patch) | |
tree | aab2533a1c6aebd6df1ef7b9d0b430f17b9659e4 /railties/guides/source | |
parent | 53bbbcc6638a9df86e74e4e420840f076e7c2994 (diff) | |
download | rails-b6eec1decf0a7ba66827fd897f8f01973773092d.tar.gz rails-b6eec1decf0a7ba66827fd897f8f01973773092d.tar.bz2 rails-b6eec1decf0a7ba66827fd897f8f01973773092d.zip |
Config guide: eager_load_paths by default contains every directory in the app directory
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/configuring.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index afafabd1e9..691418860d 100644 --- a/railties/guides/source/configuring.textile +++ b/railties/guides/source/configuring.textile @@ -73,7 +73,7 @@ h4. Rails General Configuration * +config.dependency_loading+ enables or disables dependency loading during the request cycle. Setting dependency_loading to _true_ will allow new classes to be loaded during a request and setting it to _false_ will disable this behavior. Can also be enabled with +threadsafe!+. -* +config.eager_load_paths+ accepts an array of paths from which Rails will eager load on boot if cache classes is enabled. All elements of this array must also be in +load_paths+. +* +config.eager_load_paths+ accepts an array of paths from which Rails will eager load on boot if cache classes is enabled. Defaults to every folder in the +app+ directory of the application. All elements of this array must also be in +load_paths+. * +config.encoding+ sets up the application-wide encoding. Defaults to UTF-8. |