1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Update Configuring Rails Component guide example

config.time_zone is no longer in included in config/application.rb.

See 28dcadc014.
This commit is contained in:
Hendy Tanata 2017-03-21 08:49:48 -07:00
parent 7724c8cb53
commit 3b51c8a591

View file

@ -32,7 +32,7 @@ Configuring Rails Components
In general, the work of configuring Rails means configuring the components of Rails, as well as configuring Rails itself. The configuration file `config/application.rb` and environment-specific configuration files (such as `config/environments/production.rb`) allow you to specify the various settings that you want to pass down to all of the components.
For example, the `config/application.rb` file includes this setting:
For example, you could add this setting to `config/application.rb` file:
```ruby
config.time_zone = 'Central Time (US & Canada)'