Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #14296 from joker1007/fix_rails_guides_about_activ…

…e_record_default_timezone

Fix guide about `config.active_record.default_timezone` [ci skip]
  • Loading branch information...
commit 3ddb74971519c5f6ec94937febe261b0a89aa078 1 parent ea8aba8
@senny senny authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  guides/source/configuring.md
View
2  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.
Please sign in to comment.
Something went wrong with that request. Please try again.