aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/4_2_release_notes.md
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2014-08-19 20:07:39 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2014-08-19 21:59:01 -0300
commit2f7ac9cdcc06f3c84eb3d905d16da9ca22ef2c66 (patch)
tree140a2e59ff3309bbe8f9093b6d014a06d5b0c4a2 /guides/source/4_2_release_notes.md
parente2066818e82799ab7eee15d4d5248c4d16edf6ba (diff)
downloadrails-2f7ac9cdcc06f3c84eb3d905d16da9ca22ef2c66.tar.gz
rails-2f7ac9cdcc06f3c84eb3d905d16da9ca22ef2c66.tar.bz2
rails-2f7ac9cdcc06f3c84eb3d905d16da9ca22ef2c66.zip
Fix setting simple values to the new config.x
Previously setting simple values to the config.x object resulted in the following: config.x.super_debugger = true config.x.super_debugger #=> {} Which was against the examples showed in the changelog/release notes.
Diffstat (limited to 'guides/source/4_2_release_notes.md')
-rw-r--r--guides/source/4_2_release_notes.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md
index 7bb1b06a5f..2afe45579f 100644
--- a/guides/source/4_2_release_notes.md
+++ b/guides/source/4_2_release_notes.md
@@ -84,7 +84,7 @@ Please refer to the [Changelog][railties] for detailed changes.
# config/environments/production.rb
config.x.payment_processing.schedule = :daily
config.x.payment_processing.retries = 3
- config.x.super_debugger = true
+ config.x.super_debugger = true
```
These options are then available through the configuration object:
@@ -93,7 +93,6 @@ Please refer to the [Changelog][railties] for detailed changes.
Rails.configuration.x.payment_processing.schedule # => :daily
Rails.configuration.x.payment_processing.retries # => 3
Rails.configuration.x.super_debugger # => true
- Rails.configuration.x.super_debugger.not_set # => nil
```
([Commit](https://github.com/rails/rails/commit/611849772dd66c2e4d005dcfe153f7ce79a8a7db))