Permalink
Browse files

Config guide: eager_load_paths by default contains every directory in…

… the app directory
  • Loading branch information...
1 parent 3a62526 commit 9d933581ecb4cd8ef6acecae776629f040707bae @radar radar committed with fxn Dec 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit 9d93358

Please sign in to comment.