diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-11-26 13:56:39 +1100 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-11-26 13:56:39 +1100 |
commit | 8b114bec061d83352312d5710689ace4557443ab (patch) | |
tree | cb6c6ad628221698e9a0c3b5799cb48bff1f17ce /railties/guides | |
parent | 26837734d6f50684056e059dfe853653a8ec50d0 (diff) | |
download | rails-8b114bec061d83352312d5710689ace4557443ab.tar.gz rails-8b114bec061d83352312d5710689ace4557443ab.tar.bz2 rails-8b114bec061d83352312d5710689ace4557443ab.zip |
Mention what cache_classes defaults to in all three default environments
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/configuring.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index 952b20f586..b3c9b4ad8d 100644 --- a/railties/guides/source/configuring.textile +++ b/railties/guides/source/configuring.textile @@ -32,14 +32,14 @@ In general, the work of configuring Rails means configuring the components of Ra This is a setting for Rails itself. If you want to pass settings to individual Rails components, you can do so via the same +config+ object: <ruby> -config.active_record.timestamped_migrations = false + config.active_record.timestamped_migrations = false </ruby> Rails will use that particular setting to configure Active Record. h4. Rails General Configuration -* +config.cache_classes+ controls whether or not application classes should be reloaded on each request. +* +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. |