diff options
author | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2016-12-10 09:21:28 +0900 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2016-12-09 16:21:28 -0800 |
commit | c16296c79556ac660a0d7bd2df95e348a9e8df31 (patch) | |
tree | dfe31f94143cca9dac1b20d065a61f2f81bde73c /activerecord/test/cases/validations/uniqueness_validation_test.rb | |
parent | ecddc0468d6cacd06faaa474d11f96f41b17ac78 (diff) | |
download | rails-c16296c79556ac660a0d7bd2df95e348a9e8df31.tar.gz rails-c16296c79556ac660a0d7bd2df95e348a9e8df31.tar.bz2 rails-c16296c79556ac660a0d7bd2df95e348a9e8df31.zip |
gemfile entry method need to return an empty array rather than nil (#27318)
This fixes the following error when executing rails new command.
```
(erb):9:in `block in template': undefined method `comment' for nil:NilClass (NoMethodError)
```
Follow up to #27288
Diffstat (limited to 'activerecord/test/cases/validations/uniqueness_validation_test.rb')
0 files changed, 0 insertions, 0 deletions