diff options
author | rbr <rbr@users.noreply.github.com> | 2015-11-19 13:05:06 +0100 |
---|---|---|
committer | rbr <rbr@users.noreply.github.com> | 2015-11-19 13:05:06 +0100 |
commit | 35138b15e979a72ec969315d48a034b3423b7409 (patch) | |
tree | 44432a084d58edd80d96e62658c33bbd0edad788 /actionview/test/actionpack/abstract/render_test.rb | |
parent | 58df2f4b4abcce0b698c2540da215a565c24cbc9 (diff) | |
download | rails-35138b15e979a72ec969315d48a034b3423b7409.tar.gz rails-35138b15e979a72ec969315d48a034b3423b7409.tar.bz2 rails-35138b15e979a72ec969315d48a034b3423b7409.zip |
Change configuration-guide example
Use an example from a default Rails app (4.2.5) rather than an outdated one in the Configuring Rails Components section.
I picked config.time_zone as it currently is the only 'setting for Rails' left in a default config/application.rb.
I stumbled upon this with investigating autoloading in a legacy app, which still included the example comment "# config.autoload_paths += %W(#{config.root}/extras)". Usually adding app/* directories to autoload_paths isn't necessary, so also finding this example within the current docs was a bit confusing initially.
[ci skip]
Diffstat (limited to 'actionview/test/actionpack/abstract/render_test.rb')
0 files changed, 0 insertions, 0 deletions