Permalink
Browse files

load_once_paths is now autoload_paths in Rails 3

  • Loading branch information...
1 parent db7c8ab commit c8af6c28cc82d0c6cbddd326f316405c570eac2d @radar radar committed Nov 26, 2010
Showing with 4 additions and 3 deletions.
  1. +4 −3 railties/guides/source/configuring.textile
View
7 railties/guides/source/configuring.textile
@@ -39,6 +39,10 @@ Rails will use that particular setting to configure Active Record.
h4. Rails General Configuration
+* +config.autoload_once_paths+ accepts an array of paths from which Rails will automatically load from only once. All elements of this array must also be in +autoload_paths+.
+
+* +config.autoload_paths+ accepts an array of additional paths to prepend to the load path. By default, all app, lib, vendor and mock paths are included in this list.
+
* +config.cache_classes+ controls whether or not application classes should be reloaded on each request. Defaults to _true_ in development, _false_ in test and production.
* +config.cache_store+ configures which cache store to use for Rails caching. Options include +:memory_store+, +:file_store+, +:mem_cache_store+ or the name of your own custom class.
@@ -49,9 +53,6 @@ h4. Rails General Configuration
* +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.load_once_paths+ accepts an array of paths from which Rails will automatically load from only once. All elements of this array must also be in +load_paths+.
-
-* +config.load_paths+ accepts an array of additional paths to prepend to the load path. By default, all app, lib, vendor and mock paths are included in this list.
* +config.log_level+ defines the verbosity of the Rails logger. In production mode, this defaults to +:info+. In development mode, it defaults to +:debug+.

0 comments on commit c8af6c2

Please sign in to comment.