mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Mention controller_paths in the config guide
This commit is contained in:
parent
0d32572275
commit
945d714e75
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ h4. Rails General Configuration
|
|||
|
||||
* +config.consider_all_requests_local+ is generally set to +true+ during development and +false+ during production; if it is set to +true+, then any error will cause detailed debugging information to be dumped in the HTTP response. For finer-grained control, set this to +false+ and implement +local_request?+ in controllers to specify which requests should provide debugging information on errors.
|
||||
|
||||
* +config.controller_paths+ configures where Rails can find controllers for this application.
|
||||
|
||||
* +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+.
|
||||
|
|
Loading…
Reference in a new issue