Skip to content

Commit

Permalink
Config guide: eager_load_paths by default contains every directory in…
Browse files Browse the repository at this point in the history
… the app directory
  • Loading branch information
radar authored and fxn committed Dec 11, 2010
1 parent 3a62526 commit 9d93358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/guides/source/configuring.textile
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 9d93358

Please sign in to comment.