aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/configuring.md
diff options
context:
space:
mode:
authorjoker1007 <kakyoin.hierophant@gmail.com>2014-03-06 18:57:29 +0900
committerjoker1007 <kakyoin.hierophant@gmail.com>2014-03-06 18:59:11 +0900
commit64816dacc5ecbc9d26aed4869e6b9ffb8a02f14f (patch)
tree459ec7715c598d70075e7894a712fdd0e5aeac9e /guides/source/configuring.md
parent9f84c7bc48dbcea3314943469358badc77b570b4 (diff)
downloadrails-64816dacc5ecbc9d26aed4869e6b9ffb8a02f14f.tar.gz
rails-64816dacc5ecbc9d26aed4869e6b9ffb8a02f14f.tar.bz2
rails-64816dacc5ecbc9d26aed4869e6b9ffb8a02f14f.zip
Fix guide about `config.active_record.default_timezone` [ci skip]
Now the initial value of ActiveRecord.default_timezone is always :utc
Diffstat (limited to 'guides/source/configuring.md')
-rw-r--r--guides/source/configuring.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 443135ed5f..eb04007016 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -274,7 +274,7 @@ All these configuration options are delegated to the `I18n` library.
* `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 Customer class will use the `customer` table.
-* `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 `:utc` for Rails, although Active Record defaults to `:local` when used outside of Rails.
+* `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 `:utc`.
* `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.