aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorPaco Guzman <fjguzman@aspgems.com>2010-11-13 12:17:21 +0100
committerPaco Guzman <fjguzman@aspgems.com>2010-11-13 12:17:21 +0100
commitd44cd370bfd044d460359ec8c2bb5ce36451d341 (patch)
tree0a92538c6bd0a58a55fc226717e53a4c07aceec8 /railties
parente7723baa0b904787bde363f55912f7e71aa4517d (diff)
downloadrails-d44cd370bfd044d460359ec8c2bb5ce36451d341.tar.gz
rails-d44cd370bfd044d460359ec8c2bb5ce36451d341.tar.bz2
rails-d44cd370bfd044d460359ec8c2bb5ce36451d341.zip
colorize_logging is a Rails General Configuration option not a specific option of ActiveRecord
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/configuring.textile6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index bb38c64307..28fff5c11e 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -32,7 +32,7 @@ config.filter_parameters << :password
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.colorize_logging = false
+config.active_record.timestamped_migrations = false
</ruby>
Rails will use that particular setting to configure Active Record.
@@ -45,6 +45,8 @@ h4. Rails General Configuration
* +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.
+* +config.colorize_logging+ (true by default) specifies whether or not to use ANSI color codes when logging information.
+
* +config.controller_paths+ accepts an array of paths that will be searched for controllers. Defaults to +app/controllers+.
* +config.database_configuration_file+ overrides the default path for the database configuration file. Default to +config/database.yml+.
@@ -105,8 +107,6 @@ h4. Configuring Active Record
* +config.active_record.pluralize_table_names+ specifies whether Rails will look for singular or plural table names in the database. If set to +true+ (the default), then the Customer class will use the +customers+ table. If set to +false+, then the Customers class will use the +customer+ table.
-* +config.active_record.colorize_logging+ (true by default) specifies whether or not to use ANSI color codes when logging information from ActiveRecord.
-
* +config.active_record.default_timezone+ determines whether to use +Time.local+ (if set to +:local+) or +Time.utc+ (if set to +:utc+) when pulling dates and times from the database. The default is +:local+.
* +config.active_record.schema_format+ controls the format for dumping the database schema to a file. The options are +:ruby+ (the default) for a database-independent version that depends on migrations, or +:sql+ for a set of (potentially database-dependent) SQL statements.