diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-03-19 17:20:41 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-03-19 21:19:09 +0900 |
commit | 53e6fe96b5664e92ee6cd64d08681254fc816f44 (patch) | |
tree | 495b473a1629669295f4fd4bb07d2aeb16a2ad80 /railties/CHANGELOG.md | |
parent | 9cc2f50f9cc3191fd796af68d09826c67c02a572 (diff) | |
download | rails-53e6fe96b5664e92ee6cd64d08681254fc816f44.tar.gz rails-53e6fe96b5664e92ee6cd64d08681254fc816f44.tar.bz2 rails-53e6fe96b5664e92ee6cd64d08681254fc816f44.zip |
Correctly check whether key is defined in configuration
It can not check correctly with `defined?`
```ruby
irb(main):001:0> Rails.application.config.active_record
=> {:maintain_test_schema=>true, :belongs_to_required_by_default=>true}
irb(main):002:0> defined?(Rails.application.config.active_record)
=> nil
```
Follow up to #28469
Diffstat (limited to 'railties/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions