aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2010-11-26 14:01:09 +1100
committerRyan Bigg <radarlistener@gmail.com>2010-11-26 14:03:49 +1100
commitc8af6c28cc82d0c6cbddd326f316405c570eac2d (patch)
tree4244d655300d7b012c2b6334b76a126fbf3f3dc1 /railties/guides
parentdb7c8abbb69f0ac06719b1e69f6276d633669a9e (diff)
downloadrails-c8af6c28cc82d0c6cbddd326f316405c570eac2d.tar.gz
rails-c8af6c28cc82d0c6cbddd326f316405c570eac2d.tar.bz2
rails-c8af6c28cc82d0c6cbddd326f316405c570eac2d.zip
load_once_paths is now autoload_paths in Rails 3
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/configuring.textile7
1 files changed, 4 insertions, 3 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index c6d4a8a799..fc4cc623a1 100644
--- a/railties/guides/source/configuring.textile
+++ b/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+.